]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
media: ov5640: fix resolution update
authorSam Bobrowicz <sam@elite-embedded.com>
Thu, 11 Oct 2018 16:23:26 +0000 (09:23 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 15 Oct 2018 06:17:52 +0000 (08:17 +0200)
commite1aa0874dbedd6202a56d89735da31fbadfc11eb
tree76d0e76d0284c9a56bab9914f3e90fadc1c96ef9
parent264c8ae39d5c4939568abfd2c67a21ba453c9bb0
media: ov5640: fix resolution update

set_fmt was not properly triggering a mode change when
a new mode was set that happened to have the same format
as the previous mode (for example, when only changing the
frame dimensions). Fix this.

Signed-off-by: Sam Bobrowicz <sam@elite-embedded.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/media/i2c/ov5640.c