]> 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>
Wed, 7 Nov 2018 10:05:51 +0000 (11:05 +0100)
commitededc7acc6d55e276b09bcd013e422b1cf7ae260
tree76d0e76d0284c9a56bab9914f3e90fadc1c96ef9
parent4077811faa00bb56f6147f1964ad90c01ca9efdd
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