Skip to content

new fix for broadwell module removing failed issue

Jie Yang alsa-devel 1 version Applied

Status from this message: Applied all, thanks. Please use subject lines matcing the style for the

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4Revert "ASoC: Intel: remove unused function hsw_pcm_free_modules()"sound/soc/intel/haswell/sst-haswell-pcm.c+15 -00 replies
2/4Revert "ASoC: Intel: fix broadwell module removing failed issue"sound/soc/intel/haswell/sst-haswell-pcm.c+1 -30 replies
3/4ASoC: Intel: check and clear runtime module pointersound/soc/intel/haswell/sst-haswell-pcm.c+7 -20 replies
4/4ASoC: Intel: handle haswell pcm suspend including runtime modules freeingsound/soc/intel/haswell/sst-haswell-pcm.c+16 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] new fix for broadwell module removing failed issue

This patch series are based on broonie/sound.git for-next branch, commit 01a4d5083562fcdeab99d42b0873aabc5fcca018.

The broadwell platform driver had module removing failed issue, and the two commits("ASoC: Intel: remove unused function hsw_pcm_free_modules()" and "ASoC: Intel: fix broadwell module removing failed issue") workaround it.

But at the same time, we shouldn't leave the device as suspended state after module freed, it is not good to do runtime suspend at driver free either, so the fix was workaround only and not good enough.

Here revert the old fix, and replace it with new unified procedure for runtime modules freeing:
suspends firmware ==> frees runtime modules ==> unloads firmware.

With this new procedure, we remove the runtime modules at both runtime suspend(D0->D3) and module(snd_soc_sst_haswell_pcm) removing, but make sure we do it only once.

Jie Yang (4):
Revert "ASoC: Intel: remove unused function hsw_pcm_free_modules()" Revert "ASoC: Intel: fix broadwell module removing failed issue"
ASoC: Intel: check and clear runtime module pointer
ASoC: Intel: handle haswell pcm suspend including runtime modules
freeing

 sound/soc/intel/haswell/sst-haswell-pcm.c | 46 +++++++++++++++++++++++++------
 1 file changed, 37 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.1