[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANKRQni0BCkS4ZkopnqWyDvwtb7+tbh9Utow9kkEFqnzGe1Wkg@mail.gmail.com>
Date: Fri, 2 Dec 2011 14:12:20 +0900
From: Tomoya MORINAGA <tomoya.rohm@...il.com>
To: Lars-Peter Clausen <lars@...afoo.de>
Cc: Liam Girdwood <lrg@...com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
Dimitris Papastamos <dp@...nsource.wolfsonmicro.com>,
Mike Frysinger <vapier@...too.org>,
Daniel Mack <zonque@...il.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, qi.wang@...el.com,
yong.y.wang@...el.com, joel.clark@...el.com, kok.howg.ewe@...el.com
Subject: Re: [PATCH v3] sound/soc/codecs: add LAPIS Semiconductor ML26124
2011/12/2 Lars-Peter Clausen <lars@...afoo.de>:
> The middle part(the control) of the path must either be a control attached to
> the mixer on the left side(the sink) or a element of the mux's enum if a mux is
> on the left side. If the left side is neither a mixer or a mux the middle part
> is ignored.
>
> The other problem probably is that you have one mux which lets you switch
> between single-ended analog input, differential analog input and digital input.
> The first two options are routed through PGA and ADC the later not.
I can understand.
The "digital input" description shouldn't be at snd_soc_dpram_route description.
So, I've modified like below. These satisfies your showed condition.
/* Supply */
{"DAC", NULL, "MCLK"},
{"ADC", NULL, "MCLK"},
{"DAC", NULL, "PLL"},
{"ADC", NULL, "PLL"},
/* output mixer */
{"Output Mixer", "PGA Switch", "PGA"},
{"Output Mixer", "DAC Switch", "DAC"},
{"Output Mixer", "Line in Switch", "LIN"},
/* outputs */
{"LOUT", NULL, "Output Mixer"},
{"SPOUT", NULL, "Output Mixer"},
/* input */
{"Input Mux", "Analog MIC SingleEnded in", "MIN"},
{"Input Mux", "Analog MIC Differential in", "MIN"},
{"ADC", NULL, "Input Mux"},
Thanks,
tomoya
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists