diff options
author | Oliver Neukum <oneukum@suse.com> | 2022-05-12 16:41:40 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-06-20 12:30:33 +0300 |
commit | d040f0e78af59b81a996e0cbec23d5af9ccfd228 (patch) | |
tree | 6691ab5d3920c52f21c8d6332e4482af6dc3a0f1 /drivers/media/rc | |
parent | 2cb5cadf171f209f1b679dfa05a0109d3bb88c90 (diff) | |
download | linux-d040f0e78af59b81a996e0cbec23d5af9ccfd228.tar.xz |
media: ttusbir: NOIO during resume
During resume we must assume tat devices are
not ready for block IO. Use GFP_NOIO.
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/ttusbir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/ttusbir.c b/drivers/media/rc/ttusbir.c index 629787d53ee1..a8009dc958be 100644 --- a/drivers/media/rc/ttusbir.c +++ b/drivers/media/rc/ttusbir.c @@ -402,7 +402,7 @@ static int ttusbir_resume(struct usb_interface *intf) led_classdev_resume(&tt->led); for (i = 0; i < NUM_URBS; i++) { - rc = usb_submit_urb(tt->urb[i], GFP_KERNEL); + rc = usb_submit_urb(tt->urb[i], GFP_NOIO); if (rc) { dev_warn(tt->dev, "failed to submit urb: %d\n", rc); break; |