]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: byt/hsw: Add missing kthread_stop to error/cleanup path
authorImre Deak <imre.deak@intel.com>
Fri, 30 May 2014 07:52:29 +0000 (10:52 +0300)
committerMark Brown <broonie@linaro.org>
Sun, 1 Jun 2014 10:44:49 +0000 (11:44 +0100)
commit7ddaea86bc80fdfa7d7810de090f3845e1c68c1d
treec945bd6203f272bdd44a23878370ec0a62d6be3a
parent784bffb5686260b25fca687b2c6c8d59da5ad99a
ASoC: Intel: byt/hsw: Add missing kthread_stop to error/cleanup path

Baytrail and Haswell SST IPC don't stop the kernel thread in error and
cleanup path thus leaving orphan kernel thread behind in such a case.

Also while at it, fix one error path in sst-haswell-ipc.c that doesn't free
hsw->msg.

[Jarkko: I edited the commit log a little]
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-baytrail-ipc.c
sound/soc/intel/sst-haswell-ipc.c