23 Apr
2018
23 Apr
'18
4:49 p.m.
On Fri, Apr 20, 2018 at 02:07:50PM +0200, Daniel Mack wrote:
The handler for the mbhc switch irq calls into snd_soc_jack_report() which in turn triggers a notifier chain that is blocking, which means it allows its callbacks to sleep. This leads to a "scheduling while atomic" Ooops when the jack notifier callback uses snd_soc_dapm_sync(), for instance.
Someone already submitted a fix for this which is in -next already?