All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: vinod.koul@intel.com, tiwai@suse.de, alsa-devel@alsa-project.org,
	broonie@kernel.org, Adam.Thomson.Opensource@diasemi.com
Subject: Applied "ASoC: da7213: add ACPI support" to the asoc tree
Date: Mon, 13 Mar 2017 16:58:14 +0000	[thread overview]
Message-ID: <E1cnTIU-00057u-8X@debutante> (raw)
In-Reply-To: <1489105142-25878-2-git-send-email-pierre-louis.bossart@linux.intel.com>

The patch

   ASoC: da7213: add ACPI support

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 8f42c23a9861df7796e019d32fd5c4dea01c8e51 Mon Sep 17 00:00:00 2001
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Date: Thu, 9 Mar 2017 18:18:58 -0600
Subject: [PATCH] ASoC: da7213: add ACPI support

Add DLGS7212 and DLGS7213 HID

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/da7213.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/sound/soc/codecs/da7213.c b/sound/soc/codecs/da7213.c
index 12da55882c06..6dd7578f0bb8 100644
--- a/sound/soc/codecs/da7213.c
+++ b/sound/soc/codecs/da7213.c
@@ -12,6 +12,7 @@
  * option) any later version.
  */
 
+#include <linux/acpi.h>
 #include <linux/clk.h>
 #include <linux/delay.h>
 #include <linux/i2c.h>
@@ -1528,12 +1529,23 @@ static int da7213_set_bias_level(struct snd_soc_codec *codec,
 	return 0;
 }
 
+#if defined(CONFIG_OF)
 /* DT */
 static const struct of_device_id da7213_of_match[] = {
 	{ .compatible = "dlg,da7213", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, da7213_of_match);
+#endif
+
+#ifdef CONFIG_ACPI
+static const struct acpi_device_id da7213_acpi_match[] = {
+	{ "DLGS7212", 0},
+	{ "DLGS7213", 0},
+	{ },
+};
+MODULE_DEVICE_TABLE(acpi, da7213_acpi_match);
+#endif
 
 static enum da7213_micbias_voltage
 	da7213_of_micbias_lvl(struct snd_soc_codec *codec, u32 val)
@@ -1844,6 +1856,7 @@ static struct i2c_driver da7213_i2c_driver = {
 	.driver = {
 		.name = "da7213",
 		.of_match_table = of_match_ptr(da7213_of_match),
+		.acpi_match_table = ACPI_PTR(da7213_acpi_match),
 	},
 	.probe		= da7213_i2c_probe,
 	.remove		= da7213_remove,
-- 
2.11.0

  parent reply	other threads:[~2017-03-13 16:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-10  0:18 [PATCH 0/5] MinnowBoard MAX support for DA7212 Pierre-Louis Bossart
2017-03-10  0:18 ` [PATCH 1/5] ASoC: da7213: add ACPI support Pierre-Louis Bossart
2017-03-13 16:10   ` Adam Thomson
2017-03-13 19:07     ` Pierre-Louis Bossart
2017-03-13 22:43       ` Adam Thomson
2017-03-13 16:58   ` Mark Brown [this message]
2017-03-10  0:18 ` [PATCH 2/5] ASoC: Intel: add machine driver for BYT/CHT + DA7213 Pierre-Louis Bossart
2017-03-13 16:58   ` Applied "ASoC: Intel: add machine driver for BYT/CHT + DA7213" to the asoc tree Mark Brown
2017-03-10  0:19 ` [PATCH 3/5] ASoC: Intel: Atom: enable BYT/CHT+DA7213 machine driver Pierre-Louis Bossart
2017-03-13 16:58   ` Applied "ASoC: Intel: Atom: enable BYT/CHT+DA7213 machine driver" to the asoc tree Mark Brown
2017-03-10  0:19 ` [PATCH 4/5] ASoC: Intel: boards: add card for MinnowBoardMax/Up I2S access Pierre-Louis Bossart
2017-03-13 16:58   ` Applied "ASoC: Intel: boards: add card for MinnowBoardMax/Up I2S access" to the asoc tree Mark Brown
2017-03-10  0:19 ` [PATCH 5/5] ASoC: Intel: Enable bytcht_nocodec machine driver Pierre-Louis Bossart
2017-03-13 16:57   ` Applied "ASoC: Intel: Enable bytcht_nocodec machine driver" to the asoc tree Mark Brown
2017-03-10  4:17 ` [PATCH 0/5] MinnowBoard MAX support for DA7212 Vinod Koul

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=E1cnTIU-00057u-8X@debutante \
    --to=broonie@kernel.org \
    --cc=Adam.Thomson.Opensource@diasemi.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=tiwai@suse.de \
    --cc=vinod.koul@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.