aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRui Miguel Silva <[email protected]>2018-11-21 05:59:55 -0500
committerMauro Carvalho Chehab <[email protected]>2018-11-23 05:16:29 -0500
commitc45fbdf24c61a7b7a37f1b3bbd46f054637a3627 (patch)
tree1dbc6cf0c4f30d6340d10b742b133169effe3723 /tools/perf/scripts/python/export-to-postgresql.py
parent5f229dcabc4acfb4e233e7678569f0fb9ab9c469 (diff)
media: ov2680: fix null dereference at power on
Swapping the order between v4l2 subdevice registration and checking chip id in b7a417628abf ("media: ov2680: don't register the v4l2 subdevice before checking chip ID") makes the mode restore to use the sensor controls before they are set, so move the mode restore call to s_power after the handler setup for controls is done. This remove also the need for the error code path in power on function. Fixes: b7a417628abf ("media: ov2680: don't register the v4l2 subdevice before checking chip ID") Signed-off-by: Rui Miguel Silva <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions