aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi.h
diff options
context:
space:
mode:
authorBernd Porr <berndporr@f2s.com>2009-11-27 12:00:53 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 11:27:45 -0800
commitd4c3a56587af3edbe5f618b20e800e9f9fde13cb (patch)
treec5968064db803c106cc9486e00d795ac07c4ec9f /drivers/staging/comedi/comedi.h
parentStaging: dst: remove from the tree (diff)
downloadlinux-dev-d4c3a56587af3edbe5f618b20e800e9f9fde13cb.tar.xz
linux-dev-d4c3a56587af3edbe5f618b20e800e9f9fde13cb.zip
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 <berndporr@f2s.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/comedi.h')
0 files changed, 0 insertions, 0 deletions