linux/sound/soc/intel
Subhransu S. Prusty 7b992c24de ASoC: Intel: Skylake: Fix DSP core ref count for init failure
During dsp init failure, the ref count is not incremented and dsp is
powered down. But as the skl driver calls put_core for the init failure it
decrements the dsp core ref count and ref count becomes unbalanced.

This results in dsp core powered up in further runtime suspend/resume
cycles and never powered down.

So increment the ref count before dsp core powerup and for any failure,
decrement in put_core will be balanced.

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>
2017-08-23 11:55:18 +01:00
..
atom ASoC: Intel: Atom: make snd_pcm_hardware const 2017-08-17 17:58:14 +01:00
baytrail ASoC: intel: constify snd_pcm_ops structures 2017-08-14 17:23:08 +01:00
boards ASoC: Intel: Headset button support in kabylake machine driver 2017-08-22 12:09:42 +01:00
common ASoC: Intel: Skylake: Add sram address to sst_addr structure 2017-06-30 13:28:03 +01:00
haswell ASoC: Intel: make snd_soc_platform_driver const 2017-08-14 17:22:29 +01:00
skylake ASoC: Intel: Skylake: Fix DSP core ref count for init failure 2017-08-23 11:55:18 +01:00
Kconfig ASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink 2017-08-17 15:25:08 +01:00
Makefile ASoC: Intel: rename SND_SST_MFLD_PLATFORM to SND_SST_ATOM_HIFI2_PLATFORM 2017-01-17 17:46:40 +00:00