]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
media: ov5640: fix get_light_freq on auto
authorSam Bobrowicz <sam@elite-embedded.com>
Thu, 11 Oct 2018 16:23:27 +0000 (09:23 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 15 Oct 2018 06:17:52 +0000 (08:17 +0200)
commit85e308871800f6d7e86d94546b48e02c2e938553
treefb4c91ef50286575fe2bf404d9285adaf43ec051
parente1aa0874dbedd6202a56d89735da31fbadfc11eb
media: ov5640: fix get_light_freq on auto

Light frequency was not properly returned when in auto
mode and the detected frequency was 60Hz. 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