commit | 5a3ad937bc784d44259860196ec987949348b83d | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@bootlin.com> | Mon Dec 03 03:44:24 2018 -0500 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Wed Dec 05 06:49:43 2018 -0500 |
tree | 17d336a7a3c9ee3a18b542179bfc849079d7d4da | |
parent | 086c25f8fef9ce659fd898670ab7ba3c39552224 [diff] |
media: ov5640: Make the return rate type more explicit In the ov5640_try_frame_interval function, the ret variable actually holds the frame rate index to use, which is represented by the enum ov5640_frame_rate in the driver. Make it more obvious. 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>