staging: comedi: fix oops for USB DAQ devices.
authorBernd Porr <berndporr@f2s.com>
Tue, 8 Nov 2011 21:23:03 +0000 (21:23 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:34:14 +0000 (18:34 -0800)
commit3ffab428f40849ed5f21bcfd7285bdef7902f9ca
tree2b9613bd348ea6317e0048367ae1f1bb98a69d50
parent8b78607fc4a26c2e26c4a614ff0bbd3380abc402
staging: comedi: fix oops for USB DAQ devices.

This fixes kernel oops when an USB DAQ device is plugged out while it's
communicating with the userspace software.

Signed-off-by: Bernd Porr <berndporr@f2s.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedi_fops.c