diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2008-07-03 23:35:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:17:40 -0400 |
commit | 291358785cde5536d98a4f3cae77efd8ca626486 (patch) | |
tree | 1357726b2b26e99119ced788347071b5a41f2ca4 /drivers/media/video/uvc/uvc_status.c | |
parent | 233548a2fd934a0220db8b1521c0bc88c82e5e53 (diff) |
V4L/DVB (8208): uvcvideo: Use GFP_NOIO when allocating memory during resume
The swap device might still be asleep, so memory allocated in the resume
handler must use GFP_NOIO. Thanks to Oliver Neukum for catching and reporting
this bug.
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/uvc/uvc_status.c')
-rw-r--r-- | drivers/media/video/uvc/uvc_status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/uvc/uvc_status.c b/drivers/media/video/uvc/uvc_status.c index be9084e5eace..06b47980ed98 100644 --- a/drivers/media/video/uvc/uvc_status.c +++ b/drivers/media/video/uvc/uvc_status.c | |||
@@ -203,5 +203,5 @@ int uvc_status_resume(struct uvc_device *dev) | |||
203 | if (dev->int_urb == NULL) | 203 | if (dev->int_urb == NULL) |
204 | return 0; | 204 | return 0; |
205 | 205 | ||
206 | return usb_submit_urb(dev->int_urb, GFP_KERNEL); | 206 | return usb_submit_urb(dev->int_urb, GFP_NOIO); |
207 | } | 207 | } |