ASoC: SOF: Intel: hda: override mclk_id after parsing NHLT SSP blob
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 19 Sep 2022 11:53:50 +0000 (13:53 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 20 Sep 2022 11:25:11 +0000 (12:25 +0100)
commitd9252772cdc811beedabbcf21ef856d09b87d1dd
treeddd2ca077c87836d881884b7c4447bd075bfd747
parent72176fccd5de1d9cf61e42771bb00567723f3353
ASoC: SOF: Intel: hda: override mclk_id after parsing NHLT SSP blob

The NHLT is already used to determine which SSP is connected to an
audio codec, we can parse the SSP blob to get the mclk_id from NHLT.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220919115350.43104-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c