projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad7d7f2
)
ASoC: samsung: i2s: Fix DAPM routes for capture stream
29/200829/1
author
Sylwester Nawrocki
<s.nawrocki@samsung.com>
Mon, 4 Mar 2019 16:17:14 +0000
(17:17 +0100)
committer
Sylwester Nawrocki
<s.nawrocki@samsung.com>
Mon, 4 Mar 2019 17:37:03 +0000
(18:37 +0100)
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>
sound/soc/samsung/i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/samsung/i2s.c
b/sound/soc/samsung/i2s.c
index
d3d250e
..
23ff857
100644
(file)
--- 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" },
- { "P
layback Mixer
", NULL, "Mixer DAI RX" },
+ { "P
rimary 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;
}