]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soc: bcm: brcmstb: biuctrl: Register writes require a barrier
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 12 Apr 2019 17:15:26 +0000 (10:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Jul 2019 06:09:35 +0000 (08:09 +0200)
commitfc1c8cfd63d4b83075b34162e80b5d03124c3980
treed000e1160e3d906b4e77a943401a3d9c2d93e55f
parent113e03c5b977608e76feaace62b7b16604607701
soc: bcm: brcmstb: biuctrl: Register writes require a barrier

[ Upstream commit 6b23af0783a54efb348f0bd781b7850636023dbb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/bcm/brcmstb/biuctrl.c