gspca-core: Fix buffers staying in queued state after a stream_off
authorHans de Goede <hdegoede@redhat.com>
Thu, 5 Jul 2012 08:23:17 +0000 (10:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 16:04:41 +0000 (09:04 -0700)
commitc412589f74ab4f1e30bb25b685fe6d95f2befd4d
tree3140fd355675d9355c6b864a22e59dad858abd6d
parent445006de7c59a9086b00025f9c3c97c75effd3c5
gspca-core: Fix buffers staying in queued state after a stream_off

commit af05ef01e9cde84620c6855a8d8ab9c8a1db9009 upstream.

[Backport to linux-stable by Antonio Ospite <ospite@studenti.unina.it>]

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

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/video/gspca/gspca.c