projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7200f
)
staging: tidspbridge: MMU2 registers are limited to 32-bit data access
author
Vladimir Zapolskiy
<vz@mleia.com>
Wed, 19 Oct 2011 19:39:12 +0000
(22:39 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 19 Oct 2011 20:42:49 +0000
(13:42 -0700)
According to OMAP3 TRM access to MMU registers shall be strictly 32-bit
aligned.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tidspbridge/hw/hw_mmu.c
patch
|
blob
|
history
diff --git
a/drivers/staging/tidspbridge/hw/hw_mmu.c
b/drivers/staging/tidspbridge/hw/hw_mmu.c
index c214df9b205eb2fae88dae8222962c11cc685bdb..8a93d55ca596e01f52de187eaf185e141686f961 100644
(file)
--- a/
drivers/staging/tidspbridge/hw/hw_mmu.c
+++ b/
drivers/staging/tidspbridge/hw/hw_mmu.c
@@
-558,5
+558,5
@@
static hw_status mmu_set_ram_entry(const void __iomem *base_address,
void hw_mmu_tlb_flush_all(const void __iomem *base)
{
- __raw_write
b
(1, base + MMU_GFLUSH);
+ __raw_write
l
(1, base + MMU_GFLUSH);
}