Commit 407cba97 authored by Oliver Neukum's avatar Oliver Neukum Committed by Mauro Carvalho Chehab

media: redrat3: no unnecessary GFP_ATOMIC

During resume() GFP_NOIO will do.
No need for GFP_ATOMIC
Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 8332f75a
......@@ -1155,9 +1155,9 @@ static int redrat3_dev_resume(struct usb_interface *intf)
{
struct redrat3_dev *rr3 = usb_get_intfdata(intf);
if (usb_submit_urb(rr3->narrow_urb, GFP_ATOMIC))
if (usb_submit_urb(rr3->narrow_urb, GFP_NOIO))
return -EIO;
if (usb_submit_urb(rr3->wide_urb, GFP_ATOMIC))
if (usb_submit_urb(rr3->wide_urb, GFP_NOIO))
return -EIO;
led_classdev_resume(&rr3->led);
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment