diff options
Diffstat (limited to 'drivers/usb/class')
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 7b572e75e73c..cefe7f2c6f75 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c | |||
@@ -280,7 +280,7 @@ static void acm_ctrl_irq(struct urb *urb) | |||
280 | 280 | ||
281 | case USB_CDC_NOTIFY_SERIAL_STATE: | 281 | case USB_CDC_NOTIFY_SERIAL_STATE: |
282 | 282 | ||
283 | newctrl = le16_to_cpu(get_unaligned((__le16 *) data)); | 283 | newctrl = get_unaligned_le16(data); |
284 | 284 | ||
285 | if (acm->tty && !acm->clocal && (acm->ctrlin & ~newctrl & ACM_CTRL_DCD)) { | 285 | if (acm->tty && !acm->clocal && (acm->ctrlin & ~newctrl & ACM_CTRL_DCD)) { |
286 | dbg("calling hangup"); | 286 | dbg("calling hangup"); |