Re: [PATCH 08/12] usb: serial: sierra: disable irq's for portdata lock

2018-06-26 Thread Johan Hovold
On Sun, Jun 24, 2018 at 12:32:11AM +0200, Sebastian Andrzej Siewior wrote: > From: John Ogness > > 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,

[PATCH 08/12] usb: serial: sierra: disable irq's for portdata lock

2018-06-23 Thread Sebastian Andrzej Siewior
From: John Ogness The portdata spinlock can be taken in interrupt context (via sierra_outdat_callback()). Disable interrupts when taking the portdata spinlock. Cc: Johan Hovold Cc: Greg Kroah-Hartman Signed-off-by: John Ogness Signed-off-by: Sebastian Andrzej Siewior ---