diff options
| author | Laurent Pinchart <[email protected]> | 2023-09-14 20:46:00 +0300 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-09-27 09:39:57 +0200 |
| commit | b2b5905aa5a3efb4dcbc4ac3f5f0525190a3e3a8 (patch) | |
| tree | 51dc55da7e4a78c469af0ae07ddf99bff529e009 /tools/perf/scripts/python/libxed.py | |
| parent | 165457e6d084c308dd9399a04c71ee85bb28d300 (diff) | |
media: i2c: imx415: 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 <[email protected]>
[Sakari Ailus: Runtime PM put when setting analgue gain.]
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions