Skip to content
Commit ce209427 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 1d3069f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment