summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/noon010pc30.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-12-03 09:44:25 +0100
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-05 12:50:14 +0100
commitf6cc192fbf0892047f28626f2a989400453fd699 (patch)
tree1f91aebaa6c67084e88f56b041ea33ec4a4ac7c0 /drivers/media/i2c/noon010pc30.c
parentmedia: ov5640: Make the return rate type more explicit (diff)
downloadlinux-f6cc192fbf0892047f28626f2a989400453fd699.tar.xz
linux-f6cc192fbf0892047f28626f2a989400453fd699.zip
media: ov5640: Make the FPS clamping / rounding more extendable
The current code uses an algorithm to clamp the FPS values and round them to the closest supported one that isn't really allows to be extended to more than two values. Rework it a bit to make it much easier to extend the amount of FPS options we support. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Tested-by: Adam Ford <aford173@gmail.com> #imx6dq Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c/noon010pc30.c')
0 files changed, 0 insertions, 0 deletions