diff options
| author | Val Packett <val@packett.cool> | 2025-09-20 14:03:47 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-29 13:47:16 +0100 |
| commit | a4b325c23e0453cff1bcec260dfd4bc092a11285 (patch) | |
| tree | 3e6e89419a934b8090e6017b980d1a94dbe40701 /usr/dummy-include/stdlib.h | |
| parent | 5e18755738632d3c5aaaddd45b76520f78e6d8d4 (diff) | |
media: i2c: dw9719: Fix power on/off sequence
The "jiggle" code was not actually expecting failure, which it should
because that's what actually happens when the device wasn't already woken
up by the regulator power-on (i.e. in the case of a shared regulator).
Also, do actually enter the internal suspend mode on shutdown, to save
power in the case of a shared regulator.
Also, wait a bit longer (2x tOPR) on waking up, 1x is not enough at least
on the DW9718S as found on the motorola-nora smartphone.
Signed-off-by: Val Packett <val@packett.cool>
Signed-off-by: André Apitzsch <git@apitzsch.eu>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'usr/dummy-include/stdlib.h')
0 files changed, 0 insertions, 0 deletions
