diff options
author | Oliver Neukum <oneukum@suse.com> | 2022-05-12 15:16:05 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-06-20 11:30:33 +0200 |
commit | 407cba97c442a2b916b36fe96fc0ef13ca95a7b6 (patch) | |
tree | 4d588207c7141f9f5014bc52ab57107a33170094 /drivers/media/rc | |
parent | media: imon_raw: respect DMA coherency (diff) | |
download | linux-407cba97c442a2b916b36fe96fc0ef13ca95a7b6.tar.xz linux-407cba97c442a2b916b36fe96fc0ef13ca95a7b6.zip |
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>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r-- | drivers/media/rc/redrat3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c index cb22316b3f00..9f2947af33aa 100644 --- a/drivers/media/rc/redrat3.c +++ b/drivers/media/rc/redrat3.c @@ -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; |