diff options
author | Xu Yang <xu.yang_2@nxp.com> | 2023-07-05 17:52:31 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-27 10:37:30 +0200 |
commit | 7f2327666a9080e428166964e37548b0168cd5e9 (patch) | |
tree | ffab86602268089677b178285fd98e4f1d4b6996 /MAINTAINERS | |
parent | b32b8f2b9542d8039f5468303a6ca78c1b5611a5 (diff) |
usb: misc: ehset: fix wrong if condition
A negative number from ret means the host controller had failed to send
usb message and 0 means succeed. Therefore, the if logic is wrong here
and this patch will fix it.
Fixes: f2b42379c576 ("usb: misc: ehset: Rework test mode entry")
Cc: stable <stable@kernel.org>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20230705095231.457860-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions