diff options
author | Brent Lu <brent.lu@intel.com> | 2022-03-01 13:49:00 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-02 13:43:41 +0000 |
commit | 024979b67b392569dde3f9294f9b66651d2c0a93 (patch) | |
tree | 0a1b85cb8027f1c4ebe0b776086ca477202ab1fc /sound/soc/intel/boards/sof_realtek_common.h | |
parent | ASoC: Intel: boards: create sof-realtek-common module (diff) | |
download | linux-024979b67b392569dde3f9294f9b66651d2c0a93.tar.gz linux-024979b67b392569dde3f9294f9b66651d2c0a93.tar.bz2 linux-024979b67b392569dde3f9294f9b66651d2c0a93.zip |
ASoC: Intel: sof_rt1308: move rt1308 code to common module
Move the code related to rt1308 dai link to the realtek common module.
It creates a clean base to add more amplifier support to this machine
driver in the future.
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220301194903.60859-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_realtek_common.h')
-rw-r--r-- | sound/soc/intel/boards/sof_realtek_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_realtek_common.h b/sound/soc/intel/boards/sof_realtek_common.h index 228ac9c08430..e0a5518e8dd2 100644 --- a/sound/soc/intel/boards/sof_realtek_common.h +++ b/sound/soc/intel/boards/sof_realtek_common.h @@ -35,4 +35,8 @@ void sof_rt1015p_codec_conf(struct snd_soc_card *card); void sof_rt1015_dai_link(struct snd_soc_dai_link *link, unsigned int fs); void sof_rt1015_codec_conf(struct snd_soc_card *card); +#define RT1308_CODEC_DAI "rt1308-aif" +#define RT1308_DEV0_NAME "i2c-10EC1308:00" +void sof_rt1308_dai_link(struct snd_soc_dai_link *link); + #endif /* __SOF_REALTEK_COMMON_H */ |