diff options
| author | Laurent Pinchart <[email protected]> | 2022-10-17 12:44:27 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-02-03 15:04:06 +0100 |
| commit | 10591fe63691bd8199d5e7244029cc065959ffc9 (patch) | |
| tree | 2a6904abdad76640162174cf6dfcd048b43e433d /tools/perf/scripts/python/bin | |
| parent | a2514b9a634ac0a2cfbc329822b8fb58ffe23a80 (diff) | |
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 <[email protected]>
Acked-by: Alexander Stein <[email protected]>
Signed-off-by: Sakari Ailus <[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