reset: reset-brcmstb-rescal: Support shared use
authorPhil Elwell <phil@raspberrypi.com>
Tue, 7 Sep 2021 13:49:00 +0000 (14:49 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:42 +0000 (11:33 +0000)
commitdf08d2abad4af246f285528a33ad854122b0f4e9
tree1013448b78245dbcf1f4c248d55f95470154e3fc
parent0fa5551bc0cd5711094f6b34f541298e04d3879e
reset: reset-brcmstb-rescal: Support shared use

reset_control_reset should not be used with shared reset controllers.
Add support for reset_control_assert and _deassert to get the desired
behaviour and avoid ugly warnings in the kernel log.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/reset/reset-brcmstb-rescal.c