kernel_optimize_test/drivers/usb/class
Thadeu Lima de Souza Cascardo 42dd2aa649 acm: Return ENODEV instead of EINVAL when trying to open ACM device.
This is required, otherwise a user will get a EINVAL while opening a
non-existing device, instead of ENODEV.

This is what I get with this patch applied now instead of an "Invalid
argument".

  cascardo@vespa:~$ cat /dev/ttyACM0
  cat: /dev/ttyACM0: No such device
  cascardo@vespa:~$

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-25 11:24:26 -07:00
..
cdc-acm.c acm: Return ENODEV instead of EINVAL when trying to open ACM device. 2009-06-25 11:24:26 -07:00
cdc-acm.h USB: support for cdc-acm of single interface devices 2009-06-15 21:44:45 -07:00
cdc-wdm.c USB: correct error handling in cdc-wdm 2009-04-23 14:15:30 -07:00
Kconfig USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
Makefile USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
usblp.c Driver Core: usb: add nodename support for usb drivers. 2009-06-15 21:30:25 -07:00
usbtmc.c USB: usbtmc: fix switch statment 2009-06-15 21:44:48 -07:00