29 #include <linux/module.h>
31 #include <linux/device.h>
41 #include "../codecs/ssm2602.h"
61 #define BF5XX_SSM2602_DAIFMT (SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | \
62 SND_SOC_DAIFMT_CBM_CFM)
67 .stream_name =
"SSM2602",
68 .cpu_dai_name =
"bfin-i2s.0",
69 .codec_dai_name =
"ssm2602-hifi",
70 .platform_name =
"bfin-i2s-pcm-audio",
71 .codec_name =
"ssm2602.0-001b",
72 .init = bf5xx_ssm2602_dai_init,
77 .stream_name =
"SSM2602",
78 .cpu_dai_name =
"bfin-i2s.1",
79 .codec_dai_name =
"ssm2602-hifi",
80 .platform_name =
"bfin-i2s-pcm-audio",
81 .codec_name =
"ssm2602.0-001b",
82 .init = bf5xx_ssm2602_dai_init,
88 .name =
"bfin-ssm2602",
90 .dai_link = &bf5xx_ssm2602_dai[CONFIG_SND_BF5XX_SPORT_NUM],
96 static int __init bf5xx_ssm2602_init(
void)
102 if (!bf5xx_ssm2602_snd_device)
105 platform_set_drvdata(bf5xx_ssm2602_snd_device, &bf5xx_ssm2602);
114 static void __exit bf5xx_ssm2602_exit(
void)