]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix to check return value of dsp init
authorJeeja KP <jeeja.kp@intel.com>
Thu, 22 Oct 2015 17:52:40 +0000 (23:22 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 23 Oct 2015 16:31:34 +0000 (01:31 +0900)
commit24c12d0daf8ad1b3b0a30c62b3188bbea7f5767b
tree99f378ff9d0c7269876d78ceb5f599eaa69ef03e
parent2b40e811d4c1621c219a71a957fe25c635046945
ASoC: Intel: Skylake: Fix to check return value of dsp init

If DSP initialization fails, ipc to disable notification
will cause NULL ptr exception as ipc is not initialized.
This patch returns error if dsp init fails before
sending disable notification ipc.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-messages.c