]> 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)
commit182f5fd3569eb19d8938c79d795fa431b41a7c1c
tree55a9ddb581c0e82c6dd7566a54ed0f8ba08e694f
parent9211f509f846487330922a1ba7e854f3b6305fb3
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