usb: serial: sierra: disable irq's for portdata lock
PATCH 8/12 usb: serial: sierra: disable irq's for portdata lock
Quoted 5 lines · Sebastian Andrzej Siewior
From: John Ogness <[email protected]>
The portdata spinlock can be taken in interrupt context (via
sierra_outdat_callback()).
Disable interrupts when taking the portdata spinlock.
Good catch!
As this fixes a potential deadlock, I've reworded the commit message and added a Fixes and stable-CC tag.
But as no one appears to have hit this since it was introduced over four years ago, I think this can go into -next along with the rest of the series.
All patches now applied. Nice work!
Thanks,
Johan
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html