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
ctrl->cam->initialized = 0;
}
}
+ /*
+ * resetting the ctrl->status with FIMC_STREAMOFF in an attempt to
+ * resolve a fimc is running issue after finishing this function.
+ * There is a case that ctrl->status isn't FIMC_STREAMOFF after
+ * finishing this function. Because the checking avaliable buffer
+ * in the fimc_irq_cap function can change ctrl->status from
+ * FIMC_STREAMOFF to FIMC_BUFFER_STOP.
+ */
+ ctrl->status = FIMC_STREAMOFF;
printk(KERN_INFO "%s-- fimc%d\n", __func__, ctrl->id);
return 0;
}