diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-09-24 18:32:56 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-07 11:55:46 +0300 |
commit | cff09e76bf7940e2a82d003d80ca89824005008d (patch) | |
tree | 8bd0dbb6b521cb214e8d45fe3f3f37598e2c3892 /net/atm | |
parent | 8921687278d4d5d5c936ea1c106f1a8f4c04f7fd (diff) | |
download | linux-cff09e76bf7940e2a82d003d80ca89824005008d.tar.xz |
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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions