[COMMON] media: smfc: fix unexpected warning during .stop_streaming
authorCho KyongHo <pullip.cho@samsung.com>
Wed, 1 Jul 2015 06:22:23 +0000 (15:22 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:31:05 +0000 (14:31 +0900)
commit37ca96437cce68a723b3808182382a892f7a4833
treed6a6a38208e0c67cfe94a59912471dba0a011f36
parentf6e44821db2066dc8c9c367f7af5d7aacf76eb76
[COMMON] media: smfc: fix unexpected warning during .stop_streaming

Videobuf2 asserts warning when vb2_buffer_done() is called for non
active buffers. .stop_streaming() in the driver also has a problem
because it should cancel the queued buffers rather than canceling
all buffers.

Change-Id: I9041c34f6810d8e8aeeffd6b890db226dc2ef640
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/platform/exynos/smfc/smfc.c