OSDN Git Service

ASoC: SOF: Intel: hda: use SOF defined init chip in resume
authorZhu Yingjiang <yingjiang.zhu@linux.intel.com>
Mon, 22 Jul 2019 14:13:55 +0000 (09:13 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 11:21:29 +0000 (12:21 +0100)
commitd06973515f95ac74d68fb3e1f1fb4b055531296c
tree0080e7c9b96f29600ce238183a9f980770cf9ed6
parent061edb232505797aee53a955225af23fa30d45b8
ASoC: SOF: Intel: hda: use SOF defined init chip in resume

Unify resume code by using SOF common function hda_dsp_ctrl_init_chip()
which can handle both HDA and non-HDA cases. Move code to reset
stream-to-link mapping into hda_dsp_ctrl_init_chip().

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190722141402.7194-15-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-ctrl.c
sound/soc/sof/intel/hda-dsp.c