From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: Matt Flax <flatmax@flatmax.org>
Cc: alsa-devel@alsa-project.org, broonie@kernel.org,
brian.austin@cirrus.com, paul.handrigan@cirrus.com
Subject: Re: [PATCH] ASoC: cs4265: Add a MIC pre. route
Date: Mon, 24 Sep 2018 09:45:37 +0100 [thread overview]
Message-ID: <20180924084537.GM1653@imbe.wolfsonmicro.main> (raw)
In-Reply-To: <20180923230835.18483-1-flatmax@flatmax.org>
On Mon, Sep 24, 2018 at 09:08:35AM +1000, Matt Flax wrote:
> The cs4265 driver is missing a microphone preamp enable.
> This patch enables/disables the microphone preamp when mic
> selection is made using the kcontrol.
>
> Signed-off-by: Matt Flax <flatmax@flatmax.org>
> ---
> sound/soc/codecs/cs4265.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c
> index 275677de..332d714a 100644
> --- a/sound/soc/codecs/cs4265.c
> +++ b/sound/soc/codecs/cs4265.c
> @@ -230,6 +230,10 @@ static const struct snd_soc_dapm_route cs4265_audio_map[] = {
> {"DAI1 Capture", NULL, "DOUT"},
> {"DAI2 Capture", NULL, "DOUT"},
>
> + { "Pre-amp MIC", NULL, "MICL" },
> + { "Pre-amp MIC", NULL, "MICR" },
> + { "ADC Mux", "MIC", "Pre-amp MIC" },
> +
This looks good but I think you should also remove the existing
routes that put the mic straight into the ADC Mux.
{"ADC Mux", "MIC", "MICL"},
{"ADC Mux", "MIC", "MICR"},
Thanks,
Charles
prev parent reply other threads:[~2018-09-24 8:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-23 23:08 [PATCH] ASoC: cs4265: Add a MIC pre. route Matt Flax
2018-09-24 8:45 ` Charles Keepax [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180924084537.GM1653@imbe.wolfsonmicro.main \
--to=ckeepax@opensource.cirrus.com \
--cc=alsa-devel@alsa-project.org \
--cc=brian.austin@cirrus.com \
--cc=broonie@kernel.org \
--cc=flatmax@flatmax.org \
--cc=paul.handrigan@cirrus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox