Johan Hovold
3827d8762f
USB: serial: do not forward USB specific errors in open
...
Use usb_translate_errors() to map USB-specific errors to errors
appropriate for user space (ENOMEM, ENODEV and EIO) in open.
Currently almost all serial drivers simply forward error codes from the
stack (e.g. from usb_submit_urb()), but these codes often have
different meanings in user-space. Doing the mapping in usb-serial core
simplifies driver code and allows for more consistent error reporting.
Signed-off-by: Johan Hovold <jhovold@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-11-15 10:47:41 -08:00
..
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-10-25 13:25:22 +02:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:02 -04:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:55:33 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:43 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:01:56 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:14 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:13 -04:00
2011-11-07 10:29:10 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:52 -04:00
2011-10-31 19:31:53 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 09:11:16 -08:00
2011-11-07 10:55:33 -08:00
2011-10-31 19:31:54 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:01 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:21 -04:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-02 16:07:02 -07:00
2011-10-31 19:30:38 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:57 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:08 -04:00
2011-11-07 09:11:16 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 20:38:49 -05:00
2011-11-06 22:22:16 -08:00
2011-10-31 19:32:10 -04:00
2011-11-15 10:47:41 -08:00
2011-10-31 19:32:19 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 20:13:34 -08:00
2011-10-31 19:32:01 -04:00
2011-10-26 15:39:02 +02:00
2011-10-26 15:39:02 +02:00