|
@@ -2946,7 +2946,7 @@ static int config_descriptors_changed(struct usb_device *udev)
|
|
|
if (len < le16_to_cpu(udev->config[index].desc.wTotalLength))
|
|
|
len = le16_to_cpu(udev->config[index].desc.wTotalLength);
|
|
|
}
|
|
|
- buf = kmalloc (len, GFP_KERNEL);
|
|
|
+ buf = kmalloc(len, GFP_NOIO);
|
|
|
if (buf == NULL) {
|
|
|
dev_err(&udev->dev, "no mem to re-read configs after reset\n");
|
|
|
/* assume the worst */
|