commit | 94c51dca2ce9a3dd0c52ec6f57df4fb3e81e3ec7 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Thu Mar 21 12:37:42 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 25 13:54:31 2013 -0700 |
tree | 111fa9a2a12db34e900fc9d7172c093c3cca4f0e | |
parent | cf41aa9e19052d467b54786090e1d3ba9104e394 [diff] |
USB: opticon: fix return value of tiocmset Make sure we return 0 or a negative error number appropriate for userspace on errors. Currently 1 rather than 0 is returned on successful operation. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>