projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
407cba9
)
media: streamzap: avoid unnecessary GFP_ATOMIC
author
Oliver Neukum
<oneukum@suse.com>
Thu, 12 May 2022 13:22:35 +0000
(14:22 +0100)
committer
Mauro Carvalho Chehab
<mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:33 +0000
(10:30 +0100)
During resume() GFP_NOIO is enough.
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/streamzap.c
patch
|
blob
|
history
diff --git
a/drivers/media/rc/streamzap.c
b/drivers/media/rc/streamzap.c
index deb85330c940655cd1a1ebeb7cbf43b48da1573c..9b209e687f256d0d69387f0cc38062a3d2246778 100644
(file)
--- a/
drivers/media/rc/streamzap.c
+++ b/
drivers/media/rc/streamzap.c
@@
-406,7
+406,7
@@
static int streamzap_resume(struct usb_interface *intf)
{
struct streamzap_ir *sz = usb_get_intfdata(intf);
- if (usb_submit_urb(sz->urb_in, GFP_
ATOMIC
)) {
+ if (usb_submit_urb(sz->urb_in, GFP_
NOIO
)) {
dev_err(sz->dev, "Error submitting urb\n");
return -EIO;
}