From: Carlo Caione <carlo@caione.org>
To: linux@endlessm.com, pierre-louis.bossart@linux.intel.com,
lgirdwood@gmail.com, broonie@kernel.org,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Cc: Carlo Caione <carlo@endlessm.com>
Subject: [PATCH 1/2] ASoC: intel: byt: Enable quirk logic for custom maps
Date: Wed, 18 Oct 2017 17:07:58 +0100 [thread overview]
Message-ID: <20171018160759.18563-2-carlo@caione.org> (raw)
In-Reply-To: <20171018160759.18563-1-carlo@caione.org>
From: Carlo Caione <carlo@endlessm.com>
Enable again the quirk logic for the custom dapm routes.
Signed-off-by: Carlo Caione <carlo@endlessm.com>
---
sound/soc/intel/boards/bytcr_rt5651.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/sound/soc/intel/boards/bytcr_rt5651.c b/sound/soc/intel/boards/bytcr_rt5651.c
index 4a3516b38c2c..ec84454a232d 100644
--- a/sound/soc/intel/boards/bytcr_rt5651.c
+++ b/sound/soc/intel/boards/bytcr_rt5651.c
@@ -142,6 +142,12 @@ static int byt_rt5651_init(struct snd_soc_pcm_runtime *runtime)
num_routes = ARRAY_SIZE(byt_rt5651_intmic_dmic1_map);
}
+ ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes);
+ if (ret) {
+ dev_err(card->dev, "unable to add custom routes map\n");
+ return ret;
+ }
+
ret = snd_soc_add_card_controls(card, byt_rt5651_controls,
ARRAY_SIZE(byt_rt5651_controls));
if (ret) {
--
2.14.2
next prev parent reply other threads:[~2017-10-18 16:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-18 16:07 [PATCH 0/2] rt5651: Enable platforms with int mic on IN2 Carlo Caione
2017-10-18 16:07 ` Carlo Caione [this message]
2017-10-18 16:07 ` [PATCH 2/2] ASoC: intel: byt: Introduce new custom IN2 map Carlo Caione
2017-10-18 16:19 ` [PATCH 0/2] rt5651: Enable platforms with int mic on IN2 Pierre-Louis Bossart
2017-10-18 16:35 ` Carlo Caione
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=20171018160759.18563-2-carlo@caione.org \
--to=carlo@caione.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=carlo@endlessm.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@endlessm.com \
--cc=pierre-louis.bossart@linux.intel.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