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/codecs/hdac_hda.h | |
parent | 88e20c1f8c1c0018a2dad50b991b87ef028b9c1c (diff) |
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/codecs/hdac_hda.h')
-rw-r--r-- | sound/soc/codecs/hdac_hda.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/hdac_hda.h b/sound/soc/codecs/hdac_hda.h index b65560981abb..b7a12aea8d32 100644 --- a/sound/soc/codecs/hdac_hda.h +++ b/sound/soc/codecs/hdac_hda.h @@ -26,6 +26,10 @@ struct hdac_hda_priv { struct hda_codec *codec; struct hdac_hda_pcm pcm[HDAC_DAI_ID_NUM]; bool need_display_power; + int dev_index; +#ifdef CONFIG_SND_HDA_PATCH_LOADER + const struct firmware *fw; +#endif }; struct hdac_ext_bus_ops *snd_soc_hdac_hda_get_ops(void); |