Commit 30f7bc00 authored by Oliver Neukum's avatar Oliver Neukum Committed by Mauro Carvalho Chehab
Browse files

media: as102: avoid GFP_ATOMIC

parent 9bc92332
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;