mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 06:43:09 +00:00
media: redrat3: no unnecessary GFP_ATOMIC
During resume() GFP_NOIO will do. No need for GFP_ATOMIC 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
8332f75a5b
commit
407cba97c4
@ -1155,9 +1155,9 @@ static int redrat3_dev_resume(struct usb_interface *intf)
|
|||||||
{
|
{
|
||||||
struct redrat3_dev *rr3 = usb_get_intfdata(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;
|
return -EIO;
|
||||||
if (usb_submit_urb(rr3->wide_urb, GFP_ATOMIC))
|
if (usb_submit_urb(rr3->wide_urb, GFP_NOIO))
|
||||||
return -EIO;
|
return -EIO;
|
||||||
led_classdev_resume(&rr3->led);
|
led_classdev_resume(&rr3->led);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user