All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: ssm4567: Added ACPI entry for SSM4567 codec
@ 2015-07-23 19:11 Harsha Priya
  2015-07-23 22:13 ` Anatol Pomazau
  2015-07-24 11:31 ` Applied "ASoC: ssm4567: Added ACPI entry for SSM4567 codec" to the asoc tree Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Harsha Priya @ 2015-07-23 19:11 UTC (permalink / raw)
  To: broonie
  Cc: alsa-devel, lars, Harsha Priya, benzh, anatol, M R Sathya Prakash,
	M Naveen

Added INT343B ACPI ID for the SSM4567 codec

Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
Signed-off-by: M Naveen <naveen.m@intel.com>
Signed-off-by: M R Sathya Prakash <sathya.prakash.m.r@intel.com>
---
 sound/soc/codecs/ssm4567.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sound/soc/codecs/ssm4567.c b/sound/soc/codecs/ssm4567.c
index 938d2cb..af536ae 100644
--- a/sound/soc/codecs/ssm4567.c
+++ b/sound/soc/codecs/ssm4567.c
@@ -10,6 +10,7 @@
  * Licensed under the GPL-2.
  */
 
+#include <linux/acpi.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/i2c.h>
@@ -450,10 +451,21 @@ static const struct i2c_device_id ssm4567_i2c_ids[] = {
 };
 MODULE_DEVICE_TABLE(i2c, ssm4567_i2c_ids);
 
+#ifdef CONFIG_ACPI
+
+static const struct acpi_device_id ssm4567_acpi_match[] = {
+	{ "INT343B", 0 },
+	{},
+};
+MODULE_DEVICE_TABLE(acpi, ssm4567_acpi_match);
+
+#endif
+
 static struct i2c_driver ssm4567_driver = {
 	.driver = {
 		.name = "ssm4567",
 		.owner = THIS_MODULE,
+		.acpi_match_table = ACPI_PTR(ssm4567_acpi_match),
 	},
 	.probe = ssm4567_i2c_probe,
 	.remove = ssm4567_i2c_remove,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: ssm4567: Added ACPI entry for SSM4567 codec
  2015-07-23 19:11 [PATCH] ASoC: ssm4567: Added ACPI entry for SSM4567 codec Harsha Priya
@ 2015-07-23 22:13 ` Anatol Pomazau
  2015-07-24  8:59   ` Lars-Peter Clausen
  2015-07-24 11:31 ` Applied "ASoC: ssm4567: Added ACPI entry for SSM4567 codec" to the asoc tree Mark Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Anatol Pomazau @ 2015-07-23 22:13 UTC (permalink / raw)
  To: Harsha Priya
  Cc: alsa-devel, lars, Ben Zhang, broonie, M R Sathya Prakash,
	M Naveen

Hi

On Thu, Jul 23, 2015 at 12:11 PM, Harsha Priya <harshapriya.n@intel.com> wrote:
> Added INT343B ACPI ID for the SSM4567 codec
>
> Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
> Signed-off-by: M Naveen <naveen.m@intel.com>
> Signed-off-by: M R Sathya Prakash <sathya.prakash.m.r@intel.com>

Acked-by: Anatol Pomozov <anatol.pomozov@gmail.com>

> ---
>  sound/soc/codecs/ssm4567.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/sound/soc/codecs/ssm4567.c b/sound/soc/codecs/ssm4567.c
> index 938d2cb..af536ae 100644
> --- a/sound/soc/codecs/ssm4567.c
> +++ b/sound/soc/codecs/ssm4567.c
> @@ -10,6 +10,7 @@
>   * Licensed under the GPL-2.
>   */
>
> +#include <linux/acpi.h>
>  #include <linux/module.h>
>  #include <linux/init.h>
>  #include <linux/i2c.h>
> @@ -450,10 +451,21 @@ static const struct i2c_device_id ssm4567_i2c_ids[] = {
>  };
>  MODULE_DEVICE_TABLE(i2c, ssm4567_i2c_ids);
>
> +#ifdef CONFIG_ACPI
> +
> +static const struct acpi_device_id ssm4567_acpi_match[] = {
> +       { "INT343B", 0 },
> +       {},
> +};
> +MODULE_DEVICE_TABLE(acpi, ssm4567_acpi_match);
> +
> +#endif
> +
>  static struct i2c_driver ssm4567_driver = {
>         .driver = {
>                 .name = "ssm4567",
>                 .owner = THIS_MODULE,
> +               .acpi_match_table = ACPI_PTR(ssm4567_acpi_match),
>         },
>         .probe = ssm4567_i2c_probe,
>         .remove = ssm4567_i2c_remove,
> --
> 1.9.1
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: ssm4567: Added ACPI entry for SSM4567 codec
  2015-07-23 22:13 ` Anatol Pomazau
@ 2015-07-24  8:59   ` Lars-Peter Clausen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars-Peter Clausen @ 2015-07-24  8:59 UTC (permalink / raw)
  To: Anatol Pomazau, Harsha Priya
  Cc: M R Sathya Prakash, Ben Zhang, alsa-devel, broonie, M Naveen

On 07/24/2015 12:13 AM, Anatol Pomazau wrote:
> Hi
>
> On Thu, Jul 23, 2015 at 12:11 PM, Harsha Priya <harshapriya.n@intel.com> wrote:
>> Added INT343B ACPI ID for the SSM4567 codec
>>
>> Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
>> Signed-off-by: M Naveen <naveen.m@intel.com>
>> Signed-off-by: M R Sathya Prakash <sathya.prakash.m.r@intel.com>
>
> Acked-by: Anatol Pomozov <anatol.pomozov@gmail.com>

Acked-by: Lars-Peter Clausen <lars@metafoo.de>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Applied "ASoC: ssm4567: Added ACPI entry for SSM4567 codec" to the asoc tree
  2015-07-23 19:11 [PATCH] ASoC: ssm4567: Added ACPI entry for SSM4567 codec Harsha Priya
  2015-07-23 22:13 ` Anatol Pomazau
@ 2015-07-24 11:31 ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2015-07-24 11:31 UTC (permalink / raw)
  To: Harsha Priya, M Naveen, M R Sathya Prakash, Anatol Pomozov,
	Lars-Peter Clausen, Mark Brown
  Cc: alsa-devel

The patch

   ASoC: ssm4567: Added ACPI entry for SSM4567 codec

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 eeffd4b442eb2aa25257d8c6631b17cba685ccac Mon Sep 17 00:00:00 2001
From: Harsha Priya <harshapriya.n@intel.com>
Date: Thu, 23 Jul 2015 19:11:54 +0000
Subject: [PATCH] ASoC: ssm4567: Added ACPI entry for SSM4567 codec

Added INT343B ACPI ID for the SSM4567 codec

Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
Signed-off-by: M Naveen <naveen.m@intel.com>
Signed-off-by: M R Sathya Prakash <sathya.prakash.m.r@intel.com>
Acked-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/ssm4567.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sound/soc/codecs/ssm4567.c b/sound/soc/codecs/ssm4567.c
index 938d2cb6d78b..af536ae75df9 100644
--- a/sound/soc/codecs/ssm4567.c
+++ b/sound/soc/codecs/ssm4567.c
@@ -10,6 +10,7 @@
  * Licensed under the GPL-2.
  */
 
+#include <linux/acpi.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/i2c.h>
@@ -450,10 +451,21 @@ static const struct i2c_device_id ssm4567_i2c_ids[] = {
 };
 MODULE_DEVICE_TABLE(i2c, ssm4567_i2c_ids);
 
+#ifdef CONFIG_ACPI
+
+static const struct acpi_device_id ssm4567_acpi_match[] = {
+	{ "INT343B", 0 },
+	{},
+};
+MODULE_DEVICE_TABLE(acpi, ssm4567_acpi_match);
+
+#endif
+
 static struct i2c_driver ssm4567_driver = {
 	.driver = {
 		.name = "ssm4567",
 		.owner = THIS_MODULE,
+		.acpi_match_table = ACPI_PTR(ssm4567_acpi_match),
 	},
 	.probe = ssm4567_i2c_probe,
 	.remove = ssm4567_i2c_remove,
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-24 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-23 19:11 [PATCH] ASoC: ssm4567: Added ACPI entry for SSM4567 codec Harsha Priya
2015-07-23 22:13 ` Anatol Pomazau
2015-07-24  8:59   ` Lars-Peter Clausen
2015-07-24 11:31 ` Applied "ASoC: ssm4567: Added ACPI entry for SSM4567 codec" to the asoc tree Mark Brown

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.