diff options
| author | Laurent Pinchart <[email protected]> | 2023-01-16 15:44:41 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-02-03 14:59:53 +0100 |
| commit | 70bbf56aa82ca972be424ec110f9a7f4ab9ee732 (patch) | |
| tree | b867b85cd9a5abc457e56fe35c129c0c019a280d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a7941da37c43d60c99843265e8535d47c7dd93a3 (diff) | |
media: i2c: imx290: Access link_freq_index directly
The imx290_get_link_freq_index() function hides the fact that it relies
on the imx290 current_mode field, which obfuscates the code instead of
making it more readable. Inline it in the callers, and use the mode
pointer we already have in imx290_ctrl_update() instead of using the
current_mode field.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions