V4L/DVB (8208): uvcvideo: Use GFP_NOIO when allocating memory during resume
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Fri, 4 Jul 2008 03:35:26 +0000 (00:35 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:17:40 +0000 (07:17 -0300)
commit291358785cde5536d98a4f3cae77efd8ca626486
tree1357726b2b26e99119ced788347071b5a41f2ca4
parent233548a2fd934a0220db8b1521c0bc88c82e5e53
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>
drivers/media/video/uvc/uvc_status.c
drivers/media/video/uvc/uvc_video.c