|
@@ -425,7 +425,7 @@ static int acm_submit_read_urb(struct acm *acm, int index, gfp_t mem_flags)
|
|
|
|
|
|
res = usb_submit_urb(acm->read_urbs[index], mem_flags);
|
|
res = usb_submit_urb(acm->read_urbs[index], mem_flags);
|
|
if (res) {
|
|
if (res) {
|
|
- if (res != -EPERM) {
|
|
|
|
|
|
+ if (res != -EPERM && res != -ENODEV) {
|
|
dev_err(&acm->data->dev,
|
|
dev_err(&acm->data->dev,
|
|
"urb %d failed submission with %d\n",
|
|
"urb %d failed submission with %d\n",
|
|
index, res);
|
|
index, res);
|