commit | 86633417997fdb4142d69298bfe182d56c29d7be | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@bootlin.com> | Mon Apr 16 08:36:56 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Thu May 17 06:22:08 2018 -0400 |
tree | 2b83b55c1cff9fd2bfa33d408d85af1e6c0643dc | |
parent | 476dec012f4c6545b0b7599cd9adba2ed819ad3b [diff] |
media: ov5640: Program the visible resolution The active frame size is set in the initialization arrays, but the value itself is also available in the struct ov5640_mode_info. Let's move these values out of the big bytes arrays, and program it with the value of the mode that we are given. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>