Skip to content
Commit 5ba0c9ad authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

media: dw9807-vcm: Add regulator support to the driver



Uses the regulator notifier framework so that the current
focus position will be restored whenever any user of the
regulator powers it up. This means that should the VCM
and sensor share a common regulator then starting the sensor
will automatically restore the default position. If they
have independent regulators then it will behave be powered
up when the VCM subdev is opened.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent b6185123
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