media: i2c: imx258: Add regulator control
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 15 Jun 2021 17:45:40 +0000 (18:45 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 8 Apr 2022 13:40:20 +0000 (14:40 +0100)
commitbff60a7ac00832bc89df3dea9a7f9391169f192b
treec521991b444c266ac4198545fd8ba4b3b8aaf457
parent47084f1506066203a47390670cc0a26a90e0ce5a
media: i2c: imx258: Add regulator control

The device tree bindings define the relevant regulators for the
sensor, so update the driver to request the regulators and control
them at the appropriate times.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/imx258.c