mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 07:10:27 +00:00
media: streamzap: avoid unnecessary GFP_ATOMIC
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>
This commit is contained in:
parent
407cba97c4
commit
6f2f124a1a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user