diff options
Diffstat (limited to 'drivers/usb/input')
-rw-r--r-- | drivers/usb/input/hid-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c index 376b6043bbff..7d5eb4deb1ef 100644 --- a/drivers/usb/input/hid-core.c +++ b/drivers/usb/input/hid-core.c | |||
@@ -1097,6 +1097,7 @@ static void hid_irq_out(struct urb *urb, struct pt_regs *regs) | |||
1097 | 1097 | ||
1098 | switch (urb->status) { | 1098 | switch (urb->status) { |
1099 | case 0: /* success */ | 1099 | case 0: /* success */ |
1100 | break; | ||
1100 | case -ESHUTDOWN: /* unplug */ | 1101 | case -ESHUTDOWN: /* unplug */ |
1101 | case -EILSEQ: /* unplug timeout on uhci */ | 1102 | case -EILSEQ: /* unplug timeout on uhci */ |
1102 | unplug = 1; | 1103 | unplug = 1; |
@@ -1144,6 +1145,7 @@ static void hid_ctrl(struct urb *urb, struct pt_regs *regs) | |||
1144 | case 0: /* success */ | 1145 | case 0: /* success */ |
1145 | if (hid->ctrl[hid->ctrltail].dir == USB_DIR_IN) | 1146 | if (hid->ctrl[hid->ctrltail].dir == USB_DIR_IN) |
1146 | hid_input_report(hid->ctrl[hid->ctrltail].report->type, urb, 0, regs); | 1147 | hid_input_report(hid->ctrl[hid->ctrltail].report->type, urb, 0, regs); |
1148 | break; | ||
1147 | case -ESHUTDOWN: /* unplug */ | 1149 | case -ESHUTDOWN: /* unplug */ |
1148 | case -EILSEQ: /* unplug timectrl on uhci */ | 1150 | case -EILSEQ: /* unplug timectrl on uhci */ |
1149 | unplug = 1; | 1151 | unplug = 1; |