summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-10-17 12:44:27 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-02-03 15:04:06 +0100
commit10591fe63691bd8199d5e7244029cc065959ffc9 (patch)
tree2a6904abdad76640162174cf6dfcd048b43e433d /tools/perf/scripts/python/export-to-postgresql.py
parenta2514b9a634ac0a2cfbc329822b8fb58ffe23a80 (diff)
downloadlinux-10591fe63691bd8199d5e7244029cc065959ffc9.tar.gz
linux-10591fe63691bd8199d5e7244029cc065959ffc9.zip
media: i2c: imx290: Rename, extend and expand usage of imx290_pixfmt
The imx290_pixfmt structure contains information about formats, currently limited to the bpp value. Extend it with the register settings for each format, and rename it to imx290_format_info to make its purpose clearer. Add a function named imx290_format_info() to look up format info for a media bus code, and use it through the code. This allows dropping the imx290 bpp field as the value is now looked up dynamically. The error handling in imx290_setup_format() can also be dropped, as the format is guaranteed by imx290_set_fmt() to be valid. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions