summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-04-20 20:59:03 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-25 11:34:03 -0300
commit08344492b350870db4499c7b90220030f07a5d4b (patch)
tree58366da15a3c81bad3af117321efc4e806e53cb7 /include/media
parenteb2c00d20113f5491e2f5d001a5e27f9e75d59f5 (diff)
downloadop-kernel-dev-08344492b350870db4499c7b90220030f07a5d4b.zip
op-kernel-dev-08344492b350870db4499c7b90220030f07a5d4b.tar.gz
[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 <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud