USB: mos7720: use GFP_ATOMIC under spinlock
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 16 Aug 2013 07:16:59 +0000 (10:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Aug 2013 00:02:11 +0000 (17:02 -0700)
commitd0bd9a41186e076ea543c397ad8a67a6cf604b55
treeb2f2ebe3b6e172325eb19b09a82ec7be1b3da2df
parent9c1d6962517e4a441dcfca480a4f3e1e73c84591
USB: mos7720: use GFP_ATOMIC under spinlock

The write_parport_reg_nonblock() function shouldn't sleep because it's
called with spinlocks held.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@vger.kernel.org
Acked-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7720.c