summaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-09-14 20:46:47 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 10:39:57 +0300
commitdef13c37e772b762f86dbfbd322d8ee333ecbc5d (patch)
treeefb58645282cd2e45d72309c65f9b20fd3366739 /Documentation/driver-api
parentb2b5905aa5a3efb4dcbc4ac3f5f0525190a3e3a8 (diff)
downloadlinux-def13c37e772b762f86dbfbd322d8ee333ecbc5d.tar.xz
media: i2c: imx296: Replace streaming flag with runtime PM check
The streaming flag in the driver private structure is used for the sole purpose of gating register writes when setting a V4L2 control. This is better handled by checking if the sensor is powered up using the runtime PM API. Do so and drop the streaming flag. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tommaso Merciai <tomm.merciai@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions