aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2022-10-16 20:49:43 +0100
committerMauro Carvalho Chehab <[email protected]>2022-11-25 08:17:08 +0000
commitc5fafbadaeae0303514e194f37347a461577d0fb (patch)
treee31a2861796e2df41020a464c5133c3a9a81f2da /tools/perf/scripts/python/bin
parenteb314d873a6d7cd0e7ec1e58906035f8cb15d303 (diff)
media: atomisp: gc0310: 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 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 <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions