|
@@ -466,7 +466,7 @@ static int keyspan_probe(struct usb_interface *interface, const struct usb_devic
|
|
|
remote->in_endpoint = endpoint;
|
|
|
remote->toggle = -1; /* Set to -1 so we will always not match the toggle from the first remote message. */
|
|
|
|
|
|
- remote->in_buffer = usb_alloc_coherent(udev, RECV_SIZE, GFP_ATOMIC, &remote->in_dma);
|
|
|
+ remote->in_buffer = usb_alloc_coherent(udev, RECV_SIZE, GFP_KERNEL, &remote->in_dma);
|
|
|
if (!remote->in_buffer) {
|
|
|
error = -ENOMEM;
|
|
|
goto fail1;
|