[alsa-devel] [PATCH] ASoC: codecs: msm8916-wcd: use threaded IRQ handlers

Daniel Mack daniel at zonque.org
Mon Apr 23 16:54:22 CEST 2018


On Monday, April 23, 2018 04:49 PM, Mark Brown wrote:
> 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?

Ah, missed that. Nice, it's the exact same fix :)


Sorry for the noise,
Daniel


More information about the Alsa-devel mailing list