From: John Sheu Date: Wed, 6 Feb 2013 23:03:01 +0000 (-0300) Subject: [media] v4l2-mem2mem: drop rdy_queue on STREAMOFF X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~491 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=401f6a2729988c7229c3a78bba0d2f73851e3f51;p=pandora-kernel.git [media] v4l2-mem2mem: drop rdy_queue on STREAMOFF When a v4l2-mem2mem context gets a STREAMOFF call on either its CAPTURE or OUTPUT queues, we should: * Drop the corresponding rdy_queue, since a subsequent STREAMON expects an empty queue. * Deschedule the context, as it now has at least one empty queue and cannot run. Signed-off-by: John Sheu Acked-by: Pawel Osciak Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed