]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Tue, 22 Aug 2017 11:15:50 +0000 (16:45 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 23 Aug 2017 10:55:07 +0000 (11:55 +0100)
commitaf3c39575a13ec87e316077dfdc543c6cedceb7b
tree55a9ddb581c0e82c6dd7566a54ed0f8ba08e694f
parent2f023997989d1575ecdbe551c96301506f09027d
ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure

For some dsp init error path, irq and few more resources are not freed.
This results in oops. So, fix it by freeing up the resources on ipc_init
failure.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/bxt-sst.c
sound/soc/intel/skylake/cnl-sst.c
sound/soc/intel/skylake/skl-sst.c