media: streamzap: avoid unnecessary GFP_ATOMIC
authorOliver Neukum <oneukum@suse.com>
Thu, 12 May 2022 13:22:35 +0000 (14:22 +0100)
committerMauro 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

index deb85330c940655cd1a1ebeb7cbf43b48da1573c..9b209e687f256d0d69387f0cc38062a3d2246778 100644 (file)
@@ -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;
        }