]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
V4L/DVB (7708): pvrusb2-dvb: Fix stuck thread on streaming abort
authorMike Isely <isely@pobox.com>
Sun, 30 Mar 2008 23:36:31 +0000 (20:36 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:48 +0000 (14:09 -0300)
commit07b80264c3ede47593e83189cce82b31100053f6
tree1565d13b5c6f77fa700e88df3144cbb4a65a51f7
parent087886eb111fde9659d69c030ea618b3c242e39c
V4L/DVB (7708): pvrusb2-dvb: Fix stuck thread on streaming abort

If the device fails to stream, the feed thread will block forever
waiting for buffers.  But while in this state it was not looking for
an exit condition from the driver DVB interface.  This caused the
thread to jam.  Implement a new stop flag (which will be set
appropriately) to tell the thread to stop.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-dvb.c
drivers/media/video/pvrusb2/pvrusb2-dvb.h