diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2022-12-03 21:16:25 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-02-08 08:24:35 +0100 |
| commit | b3118a942c820c8d94a11ffd3d950660b3566d35 (patch) | |
| tree | 9e706e3a265d76daa83978e546e7c6bbeba333d2 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | media: atomisp: ov2722: Don't take the input_lock for try_fmt calls. (diff) | |
| download | linux-b3118a942c820c8d94a11ffd3d950660b3566d35.tar.gz linux-b3118a942c820c8d94a11ffd3d950660b3566d35.zip | |
media: atomisp: ov2722: Power on sensor from set_fmt() callback
Depending on which order userspace makes various v4l2 calls, the sensor
might still be powered down when set_fmt is called.
What should really happen here is delay the writing of the mode-related
registers till streaming is started, but for now use the same quick fix
as the atomisp_ov2680 / atomisp_gc0310 code and call power_up() from
set_fmt() in combination with keeping track of the power-state to avoid
doing the power-up sequence twice.
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
