diff options
author | Alan Cox <alan@linux.intel.com> | 2012-05-22 20:45:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-12 16:09:49 -0700 |
commit | 1aa3c63cf0a79153ee13c8f82e4eb6c40b66a161 (patch) | |
tree | 08025ab4bd2647cc69f5e73a27be36e8984203bb /drivers/usb/serial/option.c | |
parent | 42ca7da1c2363dbef4ba1b6917c4c02274b6a5e2 (diff) | |
download | op-kernel-dev-1aa3c63cf0a79153ee13c8f82e4eb6c40b66a161.zip op-kernel-dev-1aa3c63cf0a79153ee13c8f82e4eb6c40b66a161.tar.gz |
USB: mct_u232: Fix incorrect TIOCMSET return
The low level helper returns 1 on success. The ioctl should however return
0. As this is the only user of the helper return, make the helper return 0 or
an error code.
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=43009
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/option.c')
0 files changed, 0 insertions, 0 deletions