Showing the changes to drivers/usb/image (1 of 31 files). Show all
Unified · Split
| @@ -360,7 +360,7 @@ static int mts_scsi_host_reset (Scsi_Cmnd *srb) · 359 unmodified lines | |||
| 360 | rc = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf); | 360 | rc = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf); |
| 361 | if (rc < 0) | 361 | if (rc < 0) |
| 362 | return FAILED; | 362 | return FAILED; |
| 363 | result = usb_reset_device(desc->usb_dev);; | 363 | result = usb_reset_device(desc->usb_dev); |
| 364 | if (rc) | 364 | if (rc) |
| 365 | usb_unlock_device(desc->usb_dev); | 365 | usb_unlock_device(desc->usb_dev); |
| 366 | return result ? FAILED : SUCCESS; | 366 | return result ? FAILED : SUCCESS; |