]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00215844 OV5642 camera: Add FPS checking for mode change
authorguoyin.chen <guoyin.chen@freescale.com>
Thu, 5 Jul 2012 06:11:09 +0000 (14:11 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:58 +0000 (08:34 +0200)
commit9582df50475247692262c8e3026f6aa80cf7d37e
treed6e6d9eb2e99fcd95c2614af8f0db7707793d96d
parent4df19aa185c73004fe8ce31c99285f02c2446d17
ENGR00215844 OV5642 camera: Add FPS checking for mode change

For fast mode setting, ov5642_change_mode does not check the fps setting.
New mode in ov5642_change_mode will have to be the same FPS as previous mode.
Only schedule the fast setting if previous fps is same as new one.

Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
drivers/media/video/mxc/capture/ov5642.c