projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
490cad5
)
soc: bcm: brcmstb: biuctrl: Register writes require a barrier
author
Florian Fainelli
<f.fainelli@gmail.com>
Fri, 12 Apr 2019 17:15:26 +0000
(10:15 -0700)
committer
Florian Fainelli
<f.fainelli@gmail.com>
Mon, 20 May 2019 16:27:50 +0000
(09:27 -0700)
The BIUCTRL register writes require that a data barrier be inserted
after comitting the write to the register for the block to latch in the
recently written values. Reads have no such requirement and are not
changed.
Fixes:
34642650e5bc
("soc: Move brcmstb to bcm/brcmstb")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/soc/bcm/brcmstb/biuctrl.c
patch
|
blob
|
history
diff --git
a/drivers/soc/bcm/brcmstb/biuctrl.c
b/drivers/soc/bcm/brcmstb/biuctrl.c
index
c16273b
..
20b63be
100644
(file)
--- a/
drivers/soc/bcm/brcmstb/biuctrl.c
+++ b/
drivers/soc/bcm/brcmstb/biuctrl.c
@@
-56,7
+56,7
@@
static inline void cbc_writel(u32 val, int reg)
if (offset == -1)
return;
- writel
_relaxed(val,
cpubiuctrl_base + offset);
+ writel
(val,
cpubiuctrl_base + offset);
}
enum cpubiuctrl_regs {