diff options
| author | Hans de Goede <[email protected]> | 2023-08-03 11:33:23 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-08-14 20:27:56 +0200 |
| commit | 84b4bd7e0d98166aa32fd470e672721190492eae (patch) | |
| tree | b0b8776e88ad5ac95dddfd6508e40581e7d67353 /tools/perf/scripts/python | |
| parent | c0e97a4b4f20639f74cd5809b42ba6cbf9736a7d (diff) | |
media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
When the ov2680_power_on() "sensor soft reset failed" path is hit during
probe() the WARN() about putting an enabled regulator at
drivers/regulator/core.c:2398 triggers 3 times (once for each regulator),
filling dmesg with backtraces.
Fix this by properly disabling the regulators on ov2680_power_on() errors.
Fixes: 3ee47cad3e69 ("media: ov2680: Add Omnivision OV2680 sensor driver")
Reviewed-by: Daniel Scally <[email protected]>
Acked-by: Rui Miguel Silva <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions