| commit | 5d66264d10858a2d877ec6d7ee125935627af5bc | [log] [tgz] |
|---|---|---|
| author | Ricardo Ribalda <ribalda@chromium.org> | Tue Sep 20 16:09:52 2022 +0200 |
| committer | Ricardo Ribalda <ribalda@chromium.org> | Tue Dec 06 14:58:49 2022 +0100 |
| tree | 4c71cff899940477fd2f367d63927703a29961ea | |
| parent | 79615caf82e00cbfc7ad3dd65ae42d16258a0993 [diff] |
media: uvcvideo: Do power management granularly Instead of suspending/resume the USB device at open()/close(), do it when the device is actually used. This way we can reduce the power consumption when a service is holding the video device and leaving it in an idle state. Reviewed-by: Tomasz Figa <tfiga@chromium.org> Reviewed-by: Max Staudt <mstaudt@chromium.org> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>