reset: brcmstb-rescal: fix incorrect polarity of status bit
authorJim Quinlan <jim2101024@gmail.com>
Tue, 14 Sep 2021 22:11:21 +0000 (15:11 -0700)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 5 Oct 2021 08:48:56 +0000 (10:48 +0200)
commitf33eb7f29c16ba78db3221ee02346fd832274cdd
treebb469d464f3d56d1eb8e96108c205567cd741a02
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
reset: brcmstb-rescal: fix incorrect polarity of status bit

The readl_poll_timeout() should complete when the status bit
is a 1, not 0.

Fixes: 4cf176e52397 ("reset: Add Broadcom STB RESCAL reset controller")
Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210914221122.62315-1-f.fainelli@gmail.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-brcmstb-rescal.c