mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-07 22:42:04 +00:00
media: ttusbir: NOIO during resume
During resume we must assume tat devices are not ready for block IO. Use GFP_NOIO. Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
2cb5cadf17
commit
d040f0e78a
@ -402,7 +402,7 @@ static int ttusbir_resume(struct usb_interface *intf)
|
||||
led_classdev_resume(&tt->led);
|
||||
|
||||
for (i = 0; i < NUM_URBS; i++) {
|
||||
rc = usb_submit_urb(tt->urb[i], GFP_KERNEL);
|
||||
rc = usb_submit_urb(tt->urb[i], GFP_NOIO);
|
||||
if (rc) {
|
||||
dev_warn(tt->dev, "failed to submit urb: %d\n", rc);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user