Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Unverified Commit 00440bcd authored by Dave Stevenson's avatar Dave Stevenson Committed by Mark Brown
Browse files

regulator: rpi-panel: Serialise operations.


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: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: default avatarDetlev Casanova <detlev.casanova@collabora.com>
Link: https://lore.kernel.org/r/20220124220129.158891-4-detlev.casanova@collabora.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5665eee7
Tags
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