diff options
author | Yong Zhi <yong.zhi@intel.com> | 2021-12-07 13:24:58 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-12-08 13:07:59 +0000 |
commit | 77659872be233e56019041d05b44d134022296b7 (patch) | |
tree | ac5630022828c7c3435f8e0ee13bb8df2cd23189 /sound/soc/intel/boards/sof_realtek_common.h | |
parent | ASoC: rt5682s: add delay time to fix pop sound issue (diff) | |
download | linux-77659872be233e56019041d05b44d134022296b7.tar.gz linux-77659872be233e56019041d05b44d134022296b7.tar.bz2 linux-77659872be233e56019041d05b44d134022296b7.zip |
ASoC: Intel: sof_rt5682: Move rt1015 speaker amp to common file
Move rt1015 driver code to common file to be consistent with
rt1011 and rt1015p.
No functional change.
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211207192458.44007-1-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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_realtek_common.h b/sound/soc/intel/boards/sof_realtek_common.h index cb0b49b2855c..228ac9c08430 100644 --- a/sound/soc/intel/boards/sof_realtek_common.h +++ b/sound/soc/intel/boards/sof_realtek_common.h @@ -28,4 +28,11 @@ void sof_rt1011_codec_conf(struct snd_soc_card *card); void sof_rt1015p_dai_link(struct snd_soc_dai_link *link); void sof_rt1015p_codec_conf(struct snd_soc_card *card); +#define RT1015_CODEC_DAI "rt1015-aif" +#define RT1015_DEV0_NAME "i2c-10EC1015:00" +#define RT1015_DEV1_NAME "i2c-10EC1015:01" + +void sof_rt1015_dai_link(struct snd_soc_dai_link *link, unsigned int fs); +void sof_rt1015_codec_conf(struct snd_soc_card *card); + #endif /* __SOF_REALTEK_COMMON_H */ |