]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L: uvcvideo: Use GFP_NOIO when allocating memory during resume
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Tue, 22 Jul 2008 01:53:46 +0000 (21:53 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Aug 2008 19:43:08 +0000 (12:43 -0700)
commit6c91c4e1fa5e7064de4d7fa0d06eab447078a0e6
treed56e4dc0792d0b10bf1b21f1dc3c93fcf94115d8
parent3b778ebff0050c61a25279f239c20f77b1b1f3fa
V4L: uvcvideo: Use GFP_NOIO when allocating memory during resume

(cherry picked from commit 291358785cde5536d98a4f3cae77efd8ca626486)

V4L: 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>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/uvc/uvc_status.c
drivers/media/video/uvc/uvc_video.c