Skip to content
Commit 6ace7cd7 authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
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>
parent 61782b20
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