diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-07-26 02:15:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-26 22:05:04 (GMT) |
commit | b07dee7c9aa78e9b55e0b4ecdba622db55a99ffe (patch) | |
tree | 004205adf1bc3216354c64d87cfdb55f8476ffc1 | |
parent | 4bed4f03883af9af08f3d0ae276ace2b5898d846 (diff) | |
download | linux-fsl-qoriq-b07dee7c9aa78e9b55e0b4ecdba622db55a99ffe.tar.xz |
staging: gdm724x: use GFP_ATOMIC under spin lock
A spin lock is taken here so we should use GFP_ATOMIC.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/gdm724x/gdm_mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gdm724x/gdm_mux.c b/drivers/staging/gdm724x/gdm_mux.c index 2e619d2..b630bab 100644 --- a/drivers/staging/gdm724x/gdm_mux.c +++ b/drivers/staging/gdm724x/gdm_mux.c @@ -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); |