Re: [PATCH] ASoC: atmel_ssc_dai: Remove wrong spinlock usage

2019-09-18 Thread Gregory CLEMENT
Hi Alex, > On 18/09/2019 11:41:14+0200, Gregory CLEMENT wrote: >> A potential bug was reported in the email "[BUG] atmel_ssc_dai: a >> possible sleep-in-atomic bug in atmel_ssc_shutdown"[1] >> >> Indeed in the function atmel_ssc_shutdown() free_irq() was called in a >> critical section protected

Re: [PATCH] ASoC: atmel_ssc_dai: Remove wrong spinlock usage

2019-09-18 Thread Alexandre Belloni
On 18/09/2019 11:41:14+0200, Gregory CLEMENT wrote: > A potential bug was reported in the email "[BUG] atmel_ssc_dai: a > possible sleep-in-atomic bug in atmel_ssc_shutdown"[1] > > Indeed in the function atmel_ssc_shutdown() free_irq() was called in a > critical section protected by spinlock. >

[PATCH] ASoC: atmel_ssc_dai: Remove wrong spinlock usage

2019-09-18 Thread Gregory CLEMENT
A potential bug was reported in the email "[BUG] atmel_ssc_dai: a possible sleep-in-atomic bug in atmel_ssc_shutdown"[1] Indeed in the function atmel_ssc_shutdown() free_irq() was called in a critical section protected by spinlock. However this spinlock is only used in atmel_ssc_shutdown() and