diff options
author | Oliver Neukum | 2022-04-28 15:34:53 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2022-05-13 11:02:22 +0200 |
commit | a43617a5bf1b6782303d11bec01cf67a2dfc82e8 (patch) | |
tree | 2efb47a59f924052b74302cc68a04c7697391a11 /drivers/media/rc | |
parent | 6287dee83dfae7675bc8324dd057ca12fd58e4df (diff) |
media: imon: avoid needless atomic allocations in resume
GFP_NOIO is fine here.
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/imon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c index 54da6f60079b..761b7fa57378 100644 --- a/drivers/media/rc/imon.c +++ b/drivers/media/rc/imon.c @@ -2578,7 +2578,7 @@ static int imon_resume(struct usb_interface *intf) usb_rx_callback_intf0, ictx, ictx->rx_endpoint_intf0->bInterval); - rc = usb_submit_urb(ictx->rx_urb_intf0, GFP_ATOMIC); + rc = usb_submit_urb(ictx->rx_urb_intf0, GFP_NOIO); } else { usb_fill_int_urb(ictx->rx_urb_intf1, ictx->usbdev_intf1, @@ -2588,7 +2588,7 @@ static int imon_resume(struct usb_interface *intf) usb_rx_callback_intf1, ictx, ictx->rx_endpoint_intf1->bInterval); - rc = usb_submit_urb(ictx->rx_urb_intf1, GFP_ATOMIC); + rc = usb_submit_urb(ictx->rx_urb_intf1, GFP_NOIO); } return rc; |