summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2020-06-12 15:53:46 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-23 15:15:47 +0200
commitd46cfdc86c30d5ec768924f0b1e2683c8d20b671 (patch)
treeabba1854515fdccc68f98ca2581266f78701abf4 /tools/perf/scripts/python/export-to-postgresql.py
parentdc7690a73017e1236202022e26a6aa133f239c8c (diff)
downloadlinux-d46cfdc86c30d5ec768924f0b1e2683c8d20b671.tar.gz
linux-d46cfdc86c30d5ec768924f0b1e2683c8d20b671.zip
media: i2c: imx290: set the format before VIDIOC_SUBDEV_G_FMT is called
With the current driver 'media-ctl -p' issued right after the imx290 driver is loaded prints: pad0: Source [fmt:unknown/0x0] The format value of zero is due to the current_format field of the imx290 struct not being initialized yet. As imx290_entity_init_cfg() calls imx290_set_fmt(), the current_mode field is also initialized, so the line which set current_mode to a default value in driver's probe() function is no longer needed. Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions