commit | 138f215e12bdd27a97585aacff54beaae779f326 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@linux.intel.com> | Tue May 22 20:45:13 2012 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:15:24 2020 +0200 |
tree | 0358bf5e169ab3cc2844f3c79b142e5f20983709 | |
parent | e908341c96652f21567d78c7f353b97472bed9fb [diff] |
USB: mct_u232: Fix incorrect TIOCMSET return commit 1aa3c63cf0a79153ee13c8f82e4eb6c40b66a161 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>