From: Oliver Neukum Date: Tue, 6 Mar 2007 15:21:22 +0000 (+0100) Subject: USB: unnecessary GFP_ATOMIC in mos7720 driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c2cf3f6ec58cf1d9e2a92cd74506dcf2265b31a1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git USB: unnecessary GFP_ATOMIC in mos7720 driver GFP_KERNEL will do. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index 19bf403f9db2..4538dc3f3fff 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c @@ -353,7 +353,7 @@ static int mos7720_open(struct usb_serial_port *port, struct file * filp) /* Initialising the write urb pool */ for (j = 0; j < NUM_URBS; ++j) { - urb = usb_alloc_urb(0,GFP_ATOMIC); + urb = usb_alloc_urb(0,GFP_KERNEL); mos7720_port->write_urb_pool[j] = urb; if (urb == NULL) {