Re: [PATCH] ASoC: hdac_hdmi: remove cancel_work_sync in runtime suspend

2020-10-02 Thread Mark Brown
On Wed, 15 Jul 2020 21:01:50 +0800, Brent Lu wrote: > A deadlock is identified when there are three contexts running at the > same time: > - a HDMI jack work which is calling snd_soc_dapm_sync(). > - user space is calling snd_pcm_release() to close pcm device. > - pm is calling runtime suspend

RE: [PATCH] ASoC: hdac_hdmi: remove cancel_work_sync in runtime suspend

2020-07-15 Thread Lu, Brent
> A deadlock is identified when there are three contexts running at the same > time: > - a HDMI jack work which is calling snd_soc_dapm_sync(). > - user space is calling snd_pcm_release() to close pcm device. > - pm is calling runtime suspend function of HDMI codec driver. > > By removing the

[PATCH] ASoC: hdac_hdmi: remove cancel_work_sync in runtime suspend

2020-07-15 Thread Brent Lu
A deadlock is identified when there are three contexts running at the same time: - a HDMI jack work which is calling snd_soc_dapm_sync(). - user space is calling snd_pcm_release() to close pcm device. - pm is calling runtime suspend function of HDMI codec driver. By removing the