aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-wdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/class/cdc-wdm.c')
-rw-r--r--drivers/usb/class/cdc-wdm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c
index b57490508860..189141ca4e05 100644
--- a/drivers/usb/class/cdc-wdm.c
+++ b/drivers/usb/class/cdc-wdm.c
@@ -839,10 +839,10 @@ static int wdm_resume(struct usb_interface *intf)
839 int rv; 839 int rv;
840 840
841 dev_dbg(&desc->intf->dev, "wdm%d_resume\n", intf->minor); 841 dev_dbg(&desc->intf->dev, "wdm%d_resume\n", intf->minor);
842 mutex_lock(&desc->lock); 842
843 clear_bit(WDM_SUSPENDING, &desc->flags); 843 clear_bit(WDM_SUSPENDING, &desc->flags);
844 rv = recover_from_urb_loss(desc); 844 rv = recover_from_urb_loss(desc);
845 mutex_unlock(&desc->lock); 845
846 return rv; 846 return rv;
847} 847}
848#endif 848#endif