staging: comedi: fix oops for USB DAQ devices.
commit300b30288b4e80da922b09db76bdef5ddfd676e6
authorBernd Porr <berndporr@f2s.com>
Tue, 8 Nov 2011 21:23:03 +0000 (8 21:23 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 17:21:42 +0000 (9 09:21 -0800)
tree422d3659cf45abc2e8a1f35d5776f4f743a23dd4
parent1890296ca407bbc02f8e0ea4683f8a885ad0ae1d
staging: comedi: fix oops for USB DAQ devices.

commit 3ffab428f40849ed5f21bcfd7285bdef7902f9ca upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedi_fops.c