summaryrefslogtreecommitdiff
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2022-05-12 16:41:40 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-20 12:30:33 +0300
commitd040f0e78af59b81a996e0cbec23d5af9ccfd228 (patch)
tree6691ab5d3920c52f21c8d6332e4482af6dc3a0f1 /drivers/media/rc
parent2cb5cadf171f209f1b679dfa05a0109d3bb88c90 (diff)
downloadlinux-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.c2
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;