]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c9ae72cc87022d12f13a9011e7bd5269969c39e
tree0080e7c9b96f29600ce238183a9f980770cf9ed6
parent7ec8457673f269873810a4b6dcba1da9191b3567
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