summaryrefslogtreecommitdiff
path: root/include/linux/processor.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2023-10-14 20:56:00 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-11-22 12:56:34 +0300
commita274f4d1e5af404fcc7b5554521913590c9d7b08 (patch)
treed5a183fcb88fbcf457410efd87673782388eb8e9 /include/linux/processor.h
parent1865913dd590ca6d5e3207b15099a1210dd62f29 (diff)
downloadlinux-a274f4d1e5af404fcc7b5554521913590c9d7b08.tar.xz
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 <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions