From: Laurent Pinchart Date: Sun, 20 Apr 2014 23:59:03 +0000 (-0300) Subject: [media] omap3isp: Cancel all queued buffers when stopping the video stream X-Git-Tag: omap-for-v3.16/fixes-against-rc1~25^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08344492b350870db4499c7b90220030f07a5d4b;p=pandora-kernel.git [media] omap3isp: Cancel all queued buffers when stopping the video stream When stopping a video stream the driver waits for ongoing DMA opeations to complete for the currently active buffer, but doesn't release the non-active queued buffers. This isn't a problem in most cases as the video device is usually closed after the stream is stopped, which will release all the buffers. However the problem would generate a warning when switching to videobuf2. Fix it by cancelling all buffers after DMA operations have completed. Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed