summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/btmtk_usb/btmtk_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/btmtk_usb/btmtk_usb.c b/drivers/staging/btmtk_usb/btmtk_usb.c
index ab57a4b97e69..0e783e8d71ca 100644
--- a/drivers/staging/btmtk_usb/btmtk_usb.c
+++ b/drivers/staging/btmtk_usb/btmtk_usb.c
@@ -1596,7 +1596,7 @@ static int btmtk_usb_probe(struct usb_interface *intf,
}
}
- data->io_buf = kmalloc(256, GFP_ATOMIC);
+ data->io_buf = kmalloc(256, GFP_KERNEL);
if (!data->io_buf) {
hci_free_dev(hdev);
kfree(data);