]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit672046b979a78478660cebf7b02a4772976c20ac
treeb2f2ebe3b6e172325eb19b09a82ec7be1b3da2df
parentbc96739103559d3367f910f68fb1190a45d5875c
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