diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2010-05-19 18:09:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 13:38:53 -0700 |
commit | 53fa827e295d8b09a2446b3126577244644d256d (patch) | |
tree | 38e3ad302db84c0cad2fc714fc494f9d9fecc21f /drivers/hid/hid-petalynx.c | |
parent | 4772c018e35b6a21e8a8bde54568b59998540a16 (diff) | |
download | linux-53fa827e295d8b09a2446b3126577244644d256d.tar.bz2 |
Staging: comedi: For COMEDI_BUFINFO, check access to command
Don't allow COMEDI_BUFINFO ioctl if some other file object has locked
the subdevice or has an active command. If there is no active command,
just report back the last buffer position.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hid/hid-petalynx.c')
0 files changed, 0 insertions, 0 deletions