summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorPrabhakar Lad <prabhakar.csengg@gmail.com>2014-09-06 17:26:51 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-22 01:16:39 +0200
commitc54d4a0b08bc4deddd3919d64f4121eaa487e28e (patch)
treeed420b3e16d845edad031e48871d89de16473f7c /mm
parent[media] media: davinci: vpif_display: fix the check on suspend/resume callbacks (diff)
downloadlinux-c54d4a0b08bc4deddd3919d64f4121eaa487e28e.tar.xz
linux-c54d4a0b08bc4deddd3919d64f4121eaa487e28e.zip
[media] media: davinci: vpif_capture: fix the check on suspend/resume callbacks
It is possible to call STREAMON without having any buffers queued. So vb2_is_streaming() can return true without start_streaming() having been called. Only after at least one buffer has been queued will start_streaming be called. The check vb2_is_streaming() is incorrect as this would start the DMA without having proper DMA pointers set up. this patch uses vb2_start_streaming_called() instead to check is streaming was called. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions