summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vsp1/vsp1_drv.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-06-24 00:15:02 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-17 19:44:50 +0400
commit9b3e6e2abd7568f9458e927fc4e5eca1b3cde521 (patch)
tree38b39eb67c4df0e1ae98bd3a6c6ff74ade5b53ad /drivers/media/platform/vsp1/vsp1_drv.c
parent9df04e9d9ac6982d16a8a042c8274410ed29fb0e (diff)
downloadlinux-9b3e6e2abd7568f9458e927fc4e5eca1b3cde521.tar.xz
[media] v4l: vsp1: Fix pipeline stop timeout
If the pipeline was already stopped when stopping the stream, no frame end interrupt will be generated and the driver will time out waiting for the pipeline to stop. Fix this by setting the pipeline state to STOPPED when the pipeline is idle waiting for frames to process, and to STOPPING at stream stop time only when the pipeline is currently RUNNING. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_drv.c')
0 files changed, 0 insertions, 0 deletions