From: Bernd Porr Date: Fri, 27 Nov 2009 12:00:53 +0000 (+0000) Subject: Staging: comedi: usbdux.c: fix locking up of the driver when the comedi ringbuffer... X-Git-Tag: v2.6.33-rc2~13^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4c3a56587af3edbe5f618b20e800e9f9fde13cb;p=pandora-kernel.git Staging: comedi: usbdux.c: fix locking up of the driver when the comedi ringbuffer runs empty 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed