]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/gdm724x/gdm_mux.c
staging: gdm724x: use GFP_ATOMIC under spin lock
[~andy/linux] / drivers / staging / gdm724x / gdm_mux.c
index 2e619d2e7ba109da7a4dee84615bd8ce997af908..b630babb57af6f53ce0744a3b0385903c5b50f5a 100644 (file)
@@ -409,7 +409,7 @@ static int gdm_mux_send(void *priv_dev, void *data, int len, int tty_index,
                          gdm_mux_send_complete,
                          t);
 
-       ret = usb_submit_urb(t->urb, GFP_KERNEL);
+       ret = usb_submit_urb(t->urb, GFP_ATOMIC);
 
        spin_unlock_irqrestore(&mux_dev->write_lock, flags);