Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 52652854 authored by Dave Stevenson's avatar Dave Stevenson Committed by Robert Nelson
Browse files

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: 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>
Signed-off-by: default avatarRahul T R <r-ravikumar@ti.com>
parent 0beae274
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment