diff options
| author | Sakari Ailus <[email protected]> | 2023-10-14 20:56:00 +0300 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-11-22 10:56:34 +0100 |
| commit | a274f4d1e5af404fcc7b5554521913590c9d7b08 (patch) | |
| tree | d5a183fcb88fbcf457410efd87673782388eb8e9 /tools/perf/scripts/python/sctop.py | |
| parent | 1865913dd590ca6d5e3207b15099a1210dd62f29 (diff) | |
media: ccs: Ensure control handlers have been set up after probe
If the sensor remains powered on after probe when it is needed again and
the runtime PM usage_count is incremented, the control handler setup for
neither control handler is run.
As this is, in most cases, a needless operation in probe, track the status
of sensor power handling after probe and set up control handlers even if
the device was already active right after probe.
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions