summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/as102/as102_usb_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/as102/as102_usb_drv.c')
-rw-r--r--drivers/media/usb/as102/as102_usb_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/as102/as102_usb_drv.c b/drivers/media/usb/as102/as102_usb_drv.c
index 6b380144d6..e0ef66a522 100644
--- a/drivers/media/usb/as102/as102_usb_drv.c
+++ b/drivers/media/usb/as102/as102_usb_drv.c
@@ -259,7 +259,7 @@ static int as102_alloc_usb_stream_buffer(struct as102_dev_t *dev)
for (i = 0; i < MAX_STREAM_URB; i++) {
struct urb *urb;
- urb = usb_alloc_urb(0, GFP_ATOMIC);
+ urb = usb_alloc_urb(0, GFP_KERNEL);
if (urb == NULL) {
as102_free_usb_stream_buffer(dev);
return -ENOMEM;