diff options
| author | Xu Yang <[email protected]> | 2023-07-05 09:52:31 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-07-27 08:37:30 +0000 |
| commit | 7f2327666a9080e428166964e37548b0168cd5e9 (patch) | |
| tree | ffab86602268089677b178285fd98e4f1d4b6996 /rust/helpers.c | |
| parent | usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy (diff) | |
| download | kernel-7f2327666a9080e428166964e37548b0168cd5e9.tar.gz kernel-7f2327666a9080e428166964e37548b0168cd5e9.zip | |
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 <[email protected]>
Signed-off-by: Xu Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
