as102: avoid GFP_ATOMIC
PATCH 1/1 as102: avoid GFP_ATOMIC
No need for GFP_ATOMIC during probe()
Signed-off-by Oliver Neukum <[email protected]>
--- drivers/media/usb/as102/as102_usb_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/usb/as102/as102_usb_drv.c +1 -1
@@ -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 ;
Signature · 1 line
2.35.3