For COMEDI_DEVCONFIG ioctl, if argument is NULL, refuse to unconfigure the
authorIan Abbott <abbotti@mev.co.uk>
Wed, 2 Jan 2008 17:41:47 +0000 (17:41 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 2 Jan 2008 17:41:47 +0000 (17:41 +0000)
commit1016290392d3fd24fa9b0dba0f0fd790e83e0004
treea2c0923f3cca4474872606352e94ba6402949144
parent4b436dd790e508f2a9fb8e93782c950f1799eb48
For COMEDI_DEVCONFIG ioctl, if argument is NULL, refuse to unconfigure the
device if any subdevices are busy or have mmap'ed buffers.  The errno is
EBUSY in this case.
comedi/comedi_fops.c