diff options
author | John Sheu <sheu@chromium.org> | 2013-02-06 23:03:01 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-19 18:13:33 (GMT) |
commit | 401f6a2729988c7229c3a78bba0d2f73851e3f51 (patch) | |
tree | 03f0331a3557b262fd508a769cf48673c3f39e1c /mm/swap_state.c | |
parent | f1a0569be680a1bfb9d624cc4893cba0c6ad4172 (diff) | |
download | linux-fsl-qoriq-401f6a2729988c7229c3a78bba0d2f73851e3f51.tar.xz |
[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 <sheu@google.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions