]> git.baikalelectronics.ru Git - kernel.git/commit
[media] gspca_main: wake wq on streamoff
authorHans de Goede <hdegoede@redhat.com>
Fri, 31 Dec 2010 20:17:51 +0000 (17:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:00 +0000 (11:45 -0200)
commit92a3e7e875e71b2dbd2c574f3a7e014fa7cf7c30
tree1ed3ac1b82eab0ec82da2ee3e54f11d6dadf40bc
parent67be83bfec97d8e5bd49ce70b21029e7e9770c15
[media] gspca_main: wake wq on streamoff

We check for not streaming as a condition to abort waiting in dqbuf, so
when another thread does a streamoff we should wake the wq.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c