summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2021-12-15 11:38:48 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2021-12-16 22:54:52 +0300
commitcbe0b3af73bf72fad197756f026084404e2bcdc7 (patch)
tree532d16afdb0ac7fef79c0ac985405bf7db60cc12 /scripts/generate_rust_analyzer.py
parent6ab7030039241c2667f5a7ad94935878279c9370 (diff)
downloadlinux-cbe0b3af73bf72fad197756f026084404e2bcdc7.tar.xz
media: ov8865: Disable only enabled regulators on error path
If powering on the sensor failed, the entire power-off sequence was run independently of how far the power-on sequence proceeded before the error. This lead to disabling regulators and/or clock that was not enabled. Fix this by disabling only clocks and regulators that were enabled previously. Fixes: 11c0d8fdccc5 ("media: i2c: Add support for the OV8865 image sensor") Cc: stable@vger.kernel.org Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions