diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2019-03-04 17:17:14 +0100 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2019-03-04 18:37:03 +0100 |
commit | 974ab062962f5dbe62f8744257540a24cb9a8d74 (patch) | |
tree | ef052f5b6fe0125a6d23097b2586284f6df533c2 | |
parent | ad7d7f298cd27d6d60d73604c27265813a027ce7 (diff) | |
download | linux-exynos-974ab062962f5dbe62f8744257540a24cb9a8d74.tar.gz linux-exynos-974ab062962f5dbe62f8744257540a24cb9a8d74.tar.bz2 linux-exynos-974ab062962f5dbe62f8744257540a24cb9a8d74.zip |
ASoC: samsung: i2s: Fix DAPM routes for capture stream
This patch sets missing stream_name of capture part of the DAI driver
so we can define DAPM routing properly also for the capture stream.
Fixes: 64aba9bca5bd ("ASoC: samsung: i2s: Add widgets and routes for DPCM support")
Change-Id: I7ac244afcd74d92cf92da1d9d7d9606285ea0360
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
-rw-r--r-- | sound/soc/samsung/i2s.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index d3d250ea4f6b..23ff8579c3c1 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -1134,7 +1134,7 @@ static const struct snd_soc_dapm_route samsung_i2s_dapm_routes[] = { { "Playback Mixer", NULL, "Secondary" }, { "Mixer DAI TX", NULL, "Playback Mixer" }, - { "Playback Mixer", NULL, "Mixer DAI RX" }, + { "Primary Capture", NULL, "Mixer DAI RX" }, }; static const struct snd_soc_component_driver samsung_i2s_component = { @@ -1201,6 +1201,7 @@ static int i2s_alloc_dais(struct samsung_i2s_priv *priv, dai_drv->capture.channels_max = 2; dai_drv->capture.rates = i2s_dai_data->pcm_rates; dai_drv->capture.formats = SAMSUNG_I2S_FMTS; + dai_drv->capture.stream_name = "Primary Capture"; return 0; } |