Skip to content
Commit 48701cf9 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 5ab94434
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