summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ak4642.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-03-16 05:45:54 +0100
committerMark Brown <broonie@kernel.org>2015-03-17 13:22:27 +0100
commit379c4b05dbfee4f8e003c9bd4c92b8c4c7146277 (patch)
tree0e9b05da7022f7891fb583d4cdc42382d3112b11 /sound/soc/codecs/ak4642.c
parentLinux 4.0-rc1 (diff)
downloadlinux-379c4b05dbfee4f8e003c9bd4c92b8c4c7146277.tar.xz
linux-379c4b05dbfee4f8e003c9bd4c92b8c4c7146277.zip
ASoC: ak4642: tidyup DAPM route for playback
It needs DAC -> Playback route instead of direct settings via SND_SOC_DAPM_DAC. otherwise, it can't find correct path if sound card used prefix name Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/ak4642.c')
-rw-r--r--sound/soc/codecs/ak4642.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c
index dde8b49c19ad..7255f6952153 100644
--- a/sound/soc/codecs/ak4642.c
+++ b/sound/soc/codecs/ak4642.c
@@ -187,7 +187,7 @@ static const struct snd_soc_dapm_widget ak4642_dapm_widgets[] = {
ARRAY_SIZE(ak4642_lout_mixer_controls)),
/* DAC */
- SND_SOC_DAPM_DAC("DAC", "HiFi Playback", PW_MGMT1, 2, 0),
+ SND_SOC_DAPM_DAC("DAC", NULL, PW_MGMT1, 2, 0),
};
static const struct snd_soc_dapm_route ak4642_intercon[] = {
@@ -205,6 +205,8 @@ static const struct snd_soc_dapm_route ak4642_intercon[] = {
{"DACH", NULL, "DAC"},
{"LINEOUT Mixer", "DACL", "DAC"},
+
+ { "DAC", NULL, "Playback" },
};
/*