[media] s5p-fimc: Support stop_streaming and job_abort
authorHyunwoong Kim <khw0178.kim@samsung.com>
Wed, 29 Dec 2010 07:47:49 +0000 (04:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:40 +0000 (20:31 -0300)
commit65777e5c58bd3b25fcba39eddb98d8a8ce35d3be
treecb074d62daa7d028364489b3c303c72851a4728b
parent1b09f292eb99fd6a3601e8421c463905dbb0a866
[media] s5p-fimc: Support stop_streaming and job_abort

This patch adds callback functions, stop_streaming and job_abort,
to abort or finish any DMA in progress. stop_streaming is called
by videobuf2 framework and job_abort is called by m2m framework.
ST_M2M_PEND state is added to discard the next job.

Reviewed-by: Jonghun Han <jonghun.han@samsung.com>
Signed-off-by: Hyunwoong Kim <khw0178.kim@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-core.c
drivers/media/video/s5p-fimc/fimc-core.h