diff mbox

[05/12,v2] ASoC: ak4642: tidyup DAPM route for playback

Message ID 877fuhk0t1.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit 379c4b05dbfee4f8e003c9bd4c92b8c4c7146277
Headers show

Commit Message

Kuninori Morimoto March 16, 2015, 4:45 a.m. UTC
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

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>
---
v1 -> v2

 - new patch

 sound/soc/codecs/ak4642.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Mark Brown March 17, 2015, 12:22 p.m. UTC | #1
On Mon, Mar 16, 2015 at 04:45:54AM +0000, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> 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

applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c
index dde8b49..7255f69 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" },
 };
 
 /*