diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 8fb92ac78c7b..fa304e5f252a 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -3655,7 +3655,7 @@ void pvr2_hdw_device_reset(struct pvr2_hdw *hdw) | |||
3655 | int ret; | 3655 | int ret; |
3656 | pvr2_trace(PVR2_TRACE_INIT,"Performing a device reset..."); | 3656 | pvr2_trace(PVR2_TRACE_INIT,"Performing a device reset..."); |
3657 | ret = usb_lock_device_for_reset(hdw->usb_dev,NULL); | 3657 | ret = usb_lock_device_for_reset(hdw->usb_dev,NULL); |
3658 | if (ret == 1) { | 3658 | if (ret == 0) { |
3659 | ret = usb_reset_device(hdw->usb_dev); | 3659 | ret = usb_reset_device(hdw->usb_dev); |
3660 | usb_unlock_device(hdw->usb_dev); | 3660 | usb_unlock_device(hdw->usb_dev); |
3661 | } else { | 3661 | } else { |