diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/omap/omap-abe-priv.h | 3 | ||||
-rw-r--r-- | sound/soc/omap/omap-abe-twl6040.c | 42 |
2 files changed, 40 insertions, 5 deletions
diff --git a/sound/soc/omap/omap-abe-priv.h b/sound/soc/omap/omap-abe-priv.h index ec3f66e62249..c5dd844a8ee2 100644 --- a/sound/soc/omap/omap-abe-priv.h +++ b/sound/soc/omap/omap-abe-priv.h @@ -56,7 +56,8 @@ #define OMAP_ABE_BE_PDM_VIB "PDM-VIB" #define OMAP_ABE_BE_BT_VX_UL "BT-VX-UL" #define OMAP_ABE_BE_BT_VX_DL "BT-VX-DL" -#define OMAP_ABE_BE_MM_EXT0 "FM-EXT" +#define OMAP_ABE_BE_MM_EXT0_UL "FM-EXT-UL" +#define OMAP_ABE_BE_MM_EXT0_DL "FM-EXT-DL" #define OMAP_ABE_BE_MM_EXT1 "MODEM-EXT" #define OMAP_ABE_BE_DMIC0 "DMIC0" #define OMAP_ABE_BE_DMIC1 "DMIC1" diff --git a/sound/soc/omap/omap-abe-twl6040.c b/sound/soc/omap/omap-abe-twl6040.c index 6ead75fbb299..b54ed610d5fc 100644 --- a/sound/soc/omap/omap-abe-twl6040.c +++ b/sound/soc/omap/omap-abe-twl6040.c @@ -893,8 +893,8 @@ static struct snd_soc_dai_link omap_abe_dai[] = { .ignore_suspend = 1, }, { - .name = OMAP_ABE_BE_MM_EXT0, - .stream_name = "FM", + .name = OMAP_ABE_BE_MM_EXT0_DL, + .stream_name = "FM Playback", /* ABE components - MCBSP2 - MM-EXT */ .cpu_dai_name = "omap-mcbsp.2", @@ -911,6 +911,23 @@ static struct snd_soc_dai_link omap_abe_dai[] = { }, #if 0 { + .name = OMAP_ABE_BE_MM_EXT0_UL, + .stream_name = "FM Capture", + + /* ABE components - MCBSP1 - MM-EXT */ + .cpu_dai_name = "omap-mcbsp.2", + .platform_name = "aess", + + /* FM */ + .codec_dai_name = "snd-soc-dummy-dai", + .codec_name = "snd-soc-dummy", + + .no_pcm = 1, /* don't create ALSA pcm for this */ + .be_hw_params_fixup = mcbsp_be_hw_params_fixup, + .ops = &omap_abe_mcbsp_ops, + .be_id = OMAP_ABE_DAI_MM_FM, + }, + { .name = OMAP_ABE_BE_MM_EXT1, .stream_name = "MODEM", @@ -1230,8 +1247,25 @@ static struct snd_soc_dai_link omap_abe_no_dmic_dai[] = { .ignore_suspend = 1, }, { - .name = OMAP_ABE_BE_MM_EXT0, - .stream_name = "FM", + .name = OMAP_ABE_BE_MM_EXT0_DL, + .stream_name = "FM Playback", + + /* ABE components - MCBSP2 - MM-EXT */ + .cpu_dai_name = "omap-mcbsp.2", + .platform_name = "aess", + + /* FM */ + .codec_dai_name = "snd-soc-dummy-dai", + .codec_name = "snd-soc-dummy", + + .no_pcm = 1, /* don't create ALSA pcm for this */ + .be_hw_params_fixup = mcbsp_be_hw_params_fixup, + .ops = &omap_abe_mcbsp_ops, + .be_id = OMAP_ABE_DAI_MM_FM, + }, + { + .name = OMAP_ABE_BE_MM_EXT0_UL, + .stream_name = "FM Capture", /* ABE components - MCBSP2 - MM-EXT */ .cpu_dai_name = "omap-mcbsp.2", |