regulator: rpi-panel: Serialise operations.
commit 00440bcd upstream. The driver was using the regmap lock to serialise the individual accesses, but we really need to protect the timings of enabling the regulators, including any communication with the Atmel. Use a mutex within the driver to control overall accesses to the Atmel, instead of the regmap lock. Signed-off-by:Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by:
Detlev Casanova <detlev.casanova@collabora.com> Link: https://lore.kernel.org/r/20220124220129.158891-4-detlev.casanova@collabora.com Signed-off-by:
Mark Brown <broonie@kernel.org> Signed-off-by:
Rahul T R <r-ravikumar@ti.com>
Please register or sign in to comment