Files
linux/drivers/staging
Bernd Porr 3610960521 Staging: comedi: usbdux.c: fix locking up of the driver when the comedi ringbuffer runs empty
commit d4c3a56587 upstream.

Jan-Matthias Braun spotted a bug which locks up the driver when the
comedi ring buffer runs empty and provided a patch. The driver would
still send the data to comedi but the reader won't wake up any more.
What's required is setting the flag COMEDI_CB_BLOCK after new data has
arrived which wakes up the reader and therefore the read() command.

Signed-off-by: Bernd Porr <berndporr@f2s.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-04-26 07:41:29 -07:00
..
2009-09-15 12:02:16 -07:00
2009-10-09 13:47:24 -07:00
2009-04-03 14:53:40 -07:00
2009-11-30 16:39:42 -08:00
2009-09-15 12:02:06 -07:00
2009-11-30 16:39:42 -08:00
2009-11-30 16:39:42 -08:00
2008-10-13 14:32:52 -07:00