projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6287dee
)
media: imon: avoid needless atomic allocations in resume
author
Oliver Neukum
<oneukum@suse.com>
Thu, 28 Apr 2022 13:34:53 +0000
(15:34 +0200)
committer
Mauro Carvalho Chehab
<mchehab@kernel.org>
Fri, 13 May 2022 09:02:22 +0000
(11:02 +0200)
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>
drivers/media/rc/imon.c
patch
|
blob
|
history
diff --git
a/drivers/media/rc/imon.c
b/drivers/media/rc/imon.c
index
54da6f6
..
761b7fa
100644
(file)
--- 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;