Devicetree
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Mark Brown <broonie@kernel.org>broonie@kernel.org,
	alsa-devel@alsa-project.org, mark.rutland@arm.com,
	devicetree@vger.kernel.org, kwestfie@codeaurora.org,
	linux-arm-msm@vger.kernel.org, tiwai@suse.com,
	robh+dt@kernel.orgalsa-devel@alsa-project.org
Subject: Applied "ASoC: qcom: apq8016-sbc: add board specific dapm mic widgets" to the asoc tree
Date: Tue, 06 Sep 2016 12:29:25 +0100	[thread overview]
Message-ID: <E1bhEZB-0003zQ-Od@finisterre> (raw)
In-Reply-To: <1473155865-13361-4-git-send-email-srinivas.kandagatla@linaro.org>

The patch

   ASoC: qcom: apq8016-sbc: add board specific dapm mic widgets

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 1190300d03516d00f68abcb01bfab00835bc0ac5 Mon Sep 17 00:00:00 2001
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Date: Tue, 6 Sep 2016 10:57:42 +0100
Subject: [PATCH] ASoC: qcom: apq8016-sbc: add board specific dapm mic widgets

This patch adds support to board specific dapm mic widgets so that these
can be used to specify proper connections of various micbias supported by
the board and SOC.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/qcom/apq8016_sbc.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/sound/soc/qcom/apq8016_sbc.c b/sound/soc/qcom/apq8016_sbc.c
index 1289543c8fb2..5c3ccf3f8fdf 100644
--- a/sound/soc/qcom/apq8016_sbc.c
+++ b/sound/soc/qcom/apq8016_sbc.c
@@ -147,6 +147,15 @@ static struct apq8016_sbc_data *apq8016_sbc_parse_of(struct snd_soc_card *card)
 	return data;
 }
 
+static const struct snd_soc_dapm_widget apq8016_sbc_dapm_widgets[] = {
+
+	SND_SOC_DAPM_MIC("Handset Mic", NULL),
+	SND_SOC_DAPM_MIC("Headset Mic", NULL),
+	SND_SOC_DAPM_MIC("Secondary Mic", NULL),
+	SND_SOC_DAPM_MIC("Digital Mic1", NULL),
+	SND_SOC_DAPM_MIC("Digital Mic2", NULL),
+};
+
 static int apq8016_sbc_platform_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
@@ -159,6 +168,8 @@ static int apq8016_sbc_platform_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	card->dev = dev;
+	card->dapm_widgets = apq8016_sbc_dapm_widgets;
+	card->num_dapm_widgets = ARRAY_SIZE(apq8016_sbc_dapm_widgets);
 	data = apq8016_sbc_parse_of(card);
 	if (IS_ERR(data)) {
 		dev_err(&pdev->dev, "Error resolving dai links: %ld\n",
-- 
2.9.3

  reply	other threads:[~2016-09-06 11:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06  9:57 [PATCH v4 0/6] ASoC: Add support to Qualcomm msm8916-wcd multi codec Srinivas Kandagatla
2016-09-06  9:57 ` [PATCH v4 1/6] ASoC: codecs: Add msm8916-wcd analog codec Srinivas Kandagatla
     [not found]   ` <1473155865-13361-2-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-09-06 11:17     ` Mark Brown
2016-09-06 12:55       ` Srinivas Kandagatla
2016-09-06  9:57 ` [PATCH v4 2/6] ASoC: codecs: Add msm8916-wcd digital codec Srinivas Kandagatla
     [not found]   ` <1473155865-13361-3-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-09-06 11:24     ` Mark Brown
2016-09-06 12:54       ` Srinivas Kandagatla
     [not found] ` <1473155865-13361-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-09-06  9:57   ` [PATCH v4 3/6] ASoC: qcom: apq8016-sbc: add board specific dapm mic widgets Srinivas Kandagatla
2016-09-06 11:29     ` Mark Brown [this message]
2016-09-06  9:57 ` [PATCH v4 4/6] ASoC: qcom: apq8016-sbc: add support to routing via DT Srinivas Kandagatla
     [not found]   ` <1473155865-13361-5-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-09-06 11:29     ` Applied "ASoC: qcom: apq8016-sbc: add support to routing via DT" to the asoc tree Mark Brown
2016-09-06  9:57 ` [PATCH v4 5/6] ASoC: qcom: apq8016-sbc: Add support to multi codec Srinivas Kandagatla
     [not found]   ` <1473155865-13361-6-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-09-06 11:27     ` Mark Brown
2016-09-06 12:54       ` Srinivas Kandagatla
2016-09-06  9:57 ` [PATCH v4 6/6] arm64: dts: apq8016-sbc: add analog audio support with multicodec Srinivas Kandagatla

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=E1bhEZB-0003zQ-Od@finisterre \
    --to=broonie@kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    /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