Commit 6b23af07 authored by Florian Fainelli's avatar Florian Fainelli

soc: bcm: brcmstb: biuctrl: Register writes require a barrier

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: 34642650 ("soc: Move brcmstb to bcm/brcmstb")
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 490cad5a
...@@ -56,7 +56,7 @@ static inline void cbc_writel(u32 val, int reg) ...@@ -56,7 +56,7 @@ static inline void cbc_writel(u32 val, int reg)
if (offset == -1) if (offset == -1)
return; return;
writel_relaxed(val, cpubiuctrl_base + offset); writel(val, cpubiuctrl_base + offset);
} }
enum cpubiuctrl_regs { enum cpubiuctrl_regs {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment