From: Laurent Pinchart Date: Mon, 23 Jun 2014 20:15:02 +0000 (-0300) Subject: [media] v4l: vsp1: Fix pipeline stop timeout X-Git-Tag: omap-for-v3.17/fixes-against-rc2~155^2~322 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b3e6e2abd7568f9458e927fc4e5eca1b3cde521;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed