]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: fix broadwell module removing failed issue
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Thu, 28 May 2015 06:14:18 +0000 (14:14 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 28 May 2015 19:27:00 +0000 (20:27 +0100)
commit8ba93799e0aeffb7b00230daf3f82bdfb08d8214
tree8732a6c7b99718003a482a69dbbd452c4fdfe785
parente8b81992b6f5fdcae512e323e19828064bbac017
ASoC: Intel: fix broadwell module removing failed issue

In haswell-pcm module unloading, we can't free runtime modules
directly, for they may be already freed in runtime suspend.

Here add executing suspend call to unload runtime modules, only
for status not equal to RPM_SUSPEND, to fix broadwell module
removing failed issue.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/haswell/sst-haswell-pcm.c