[media] gspca-core: Fix buffers staying in queued state after a stream_off
authorHans de Goede <hdegoede@redhat.com>
Tue, 22 May 2012 14:24:05 +0000 (11:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 19:06:35 +0000 (16:06 -0300)
commitaf05ef01e9cde84620c6855a8d8ab9c8a1db9009
treeae1a8ba8d225c62d7542896f531e583baeb2e655
parentcf3c1c319500e879daa1487f41bb094bd377566f
[media] gspca-core: Fix buffers staying in queued state after a stream_off

This fixes a regression introduced by commit f7059ea and should be
backported to all supported stable kernels which have this commit.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Antonio Ospite <ospite@studenti.unina.it>
CC: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c