aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/sierra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/sierra.c')
-rw-r--r--drivers/usb/serial/sierra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c
index c5c41aed106d..ac1b6449fb6a 100644
--- a/drivers/usb/serial/sierra.c
+++ b/drivers/usb/serial/sierra.c
@@ -1005,7 +1005,7 @@ static int sierra_suspend(struct usb_serial *serial, pm_message_t message)
1005 struct sierra_intf_private *intfdata; 1005 struct sierra_intf_private *intfdata;
1006 int b; 1006 int b;
1007 1007
1008 if (serial->dev->auto_pm) { 1008 if (message.event & PM_EVENT_AUTO) {
1009 intfdata = serial->private; 1009 intfdata = serial->private;
1010 spin_lock_irq(&intfdata->susp_lock); 1010 spin_lock_irq(&intfdata->susp_lock);
1011 b = intfdata->in_flight; 1011 b = intfdata->in_flight;