commit | db54a53d26322e978e66482208afabaab9cd0752 | [log] [tgz] |
---|---|---|
author | Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> | Mon Jun 12 22:46:20 2006 -0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Jun 21 15:04:18 2006 -0700 |
tree | 389920f93a45647fec5f90eb27e75213c27934f9 | |
parent | 043ea18b2e145c4c9cb3c30757a65fe0f1678a35 [diff] |
[PATCH] usbserial: Fixes wrong return values. Some usbserial functions returns -EINVAL if the port doesn't exist or if it's not opened. However, the right error code for such situations is -ENODEV. Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>