]> git.baikalelectronics.ru Git - kernel.git/commit
staging: gdm72xx: Fix spinlock recursion on gdm_usb_send_complete
authorBen Chan <benchan@chromium.org>
Thu, 7 Jun 2012 06:01:26 +0000 (23:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 17:52:32 +0000 (10:52 -0700)
commit064197bdb0c2519b5debc6697cc481ad8daa472a
tree3578ac2a66f296062777a2734356767816894413
parent9498e16e1c316f1398304c5cd38260886a5b1947
staging: gdm72xx: Fix spinlock recursion on gdm_usb_send_complete

This patch fixes a spinlock recursion bug on several call sites of
gdm_usb_send_complete by not calling spin_lock_irqsave on
urb->context->tx_cxt->lock when the lock has already been acquired.

Signed-off-by: Ben Chan <benchan@chromium.org>
Cc: Sage Ahn <syahn@gctsemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_usb.c