diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2023-09-19 16:32:09 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-19 13:49:16 +0100 |
commit | 842a62a75e709b3efb5020a25a225fa51748c5f9 (patch) | |
tree | 771a2dfb9a89c91a1fa1054f45e8cb19fa8b9c61 /sound/soc/sof/intel/hda-codec.c | |
parent | 88e20c1f8c1c0018a2dad50b991b87ef028b9c1c (diff) | |
download | linux-stable-842a62a75e709b3efb5020a25a225fa51748c5f9.tar.gz linux-stable-842a62a75e709b3efb5020a25a225fa51748c5f9.tar.bz2 linux-stable-842a62a75e709b3efb5020a25a225fa51748c5f9.zip |
ASoC: hdac_hda: add HDA patch loader support
HDA patch loader is supported by legacy HDA driver. Implement it on
ASoC HDA driver, too.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20230919083209.1919921-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/hda-codec.c')
-rw-r--r-- | sound/soc/sof/intel/hda-codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/hda-codec.c b/sound/soc/sof/intel/hda-codec.c index 8a5e99a898ec..28ecbebb4b84 100644 --- a/sound/soc/sof/intel/hda-codec.c +++ b/sound/soc/sof/intel/hda-codec.c @@ -169,6 +169,7 @@ static int hda_codec_probe(struct snd_sof_dev *sdev, int address) return ret; hda_priv->codec = codec; + hda_priv->dev_index = address; dev_set_drvdata(&codec->core.dev, hda_priv); if ((resp & 0xFFFF0000) == IDISP_VID_INTEL) { |