TRATS2: fimc: resetting the ctrl->status
authorHJ.CHOI <hj210.choi@samsung.com>
Tue, 7 May 2013 05:51:00 +0000 (14:51 +0900)
committerHJ.CHOI <hj210.choi@samsung.com>
Tue, 7 May 2013 07:55:05 +0000 (16:55 +0900)
commit35f1382da20716beb67f72f5e5f0d5be84a0d6ef
treeb7a9b1a5b77da5cd48f6704dcec9c3f7f3025907
parent6448327421c6aa6ca44110b73ea958303ffc02af
TRATS2: fimc: resetting the ctrl->status

resetting the ctrl->status with FIMC_STREAMOFF in an attempt to resolve
a 'fimc is running' issue after finishing the fimc_streamoff_capture
function. There is a case that ctrl->status isn't FIMC_STREAMOFF after
finishing the fimc_streamoff_capture function. Because the checking
available buffer in the fimc_irq_cap function can change ctrl->status
from FIMC_STREAMOFF to FIMC_BUFFER_STOP.

Signed-off-by: HJ.CHOI <hj210.choi@samsung.com>
Change-Id: I230ba88d76994e57279c6d7d19cdf67ece1d410b
drivers/media/video/samsung/fimc/fimc_capture.c