aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorPaul Mundt <[email protected]>2010-02-04 06:58:28 +0000
committerPaul Mundt <[email protected]>2010-02-05 11:53:28 +0900
commit2c940db250c1610d95ea5331dc819b8bd4db96ae (patch)
treefc1e5338940c4562d6b0e9df9e1a5525407b95c3 /net/lapb/lapb_in.c
parent2717568e7c44fe7dc3f4f52ea823811cfeede2b5 (diff)
usb: r8a66597-hcd: Fix up spinlock recursion in root hub polling.
The current root hub polling code exhibits a spinlock recursion on the private controller lock. r8a66597_root_hub_control() is called from r8a66597_timer() which grabs the lock and disables IRQs. The following chain emerges: r8a66597_timer() <-- lock taken r8a66597_root_hub_control() r8a66597_check_syssts() usb_hcd_poll_rh_status() <-- acquires the same lock /* insert death here */ The entire chain requires IRQs to be disabled, so we just unlock and relock around the call to usb_hcd_poll_rh_status() while leaving the IRQ state unchanged. Signed-off-by: Paul Mundt <[email protected]> Acked-by: Yoshihiro Shimoda <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions