From: Sungchun Kang Date: Mon, 7 Feb 2011 18:59:46 +0000 (-0300) Subject: [media] s5p-fimc: fix ISR and buffer handling for fimc-capture X-Git-Tag: v2.6.39-rc1~86^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ec737ffccd7fab629e28427b4d0581ce62ffedd;p=pandora-kernel.git [media] s5p-fimc: fix ISR and buffer handling for fimc-capture In some cases fimc H/W did not stop although there were no output buffers available. So the capture deactivation interrupt routine is modified and the state of ST_CAPT_RUN is cleared only in the LAST-IRQ call. After LAST-IRQ is generated, H/W pointer will be skipped by 1 frame. (reference by user manual) So, S/W pointer should be increased too. Reviewed-by Jonghun Han Signed-off-by: Sungchun Kang Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed