diff options
| author | Laurent Pinchart <[email protected]> | 2023-09-24 18:32:56 +0300 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-10-07 10:55:46 +0200 |
| commit | cff09e76bf7940e2a82d003d80ca89824005008d (patch) | |
| tree | 8bd0dbb6b521cb214e8d45fe3f3f37598e2c3892 /tools/perf/scripts/python | |
| parent | 8921687278d4d5d5c936ea1c106f1a8f4c04f7fd (diff) | |
media: i2c: imx219: Merge format and binning setting functions
The imx219_set_binning() function sets registers based on the bpp value,
which is computed in imx219_set_framefmt(). As both functions are called
from the same place consecutively, and set registers based on the
selected mode, merge them together to simplify the code.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Dave Stevenson <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions