forked from Minki/linux
cdc-acm: surpress misleading message
During the entry intro suspend a misleading message can be printed. Surpress it by checking the specific error. Signed-off-by: Oliver Neukum <oneukum@suse.de>0 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
36e59e0d70
commit
6c8074e90c
@ -360,7 +360,7 @@ static void acm_ctrl_irq(struct urb *urb)
|
||||
}
|
||||
exit:
|
||||
retval = usb_submit_urb(urb, GFP_ATOMIC);
|
||||
if (retval)
|
||||
if (retval && retval != -EPERM)
|
||||
dev_err(&acm->control->dev, "%s - usb_submit_urb failed: %d\n",
|
||||
__func__, retval);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user