alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: alsa-devel@alsa-project.org
Subject: Re: [PATCH 3/3] ASoC: da7219: Add initial ACPI id for device
Date: Thu, 5 May 2016 08:49:01 -0500	[thread overview]
Message-ID: <1c031817-6e7c-7e91-75e5-73a72ed0d3ed@linux.intel.com> (raw)
In-Reply-To: <7ddf6d5b47424ca3777d33a9f91d30ea7c7c439a.1462285398.git.Adam.Thomson.Opensource@diasemi.com>

On 5/5/16 5:53 AM, Adam Thomson wrote:
> This adds "DLGS7219" ACPI id for the codec.

A valid ACPI ID, the first in a long time on this mailing list :-)

>
> Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
> Tested-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
> ---
>  sound/soc/codecs/da7219.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c
> index bc32322..da268b8 100644
> --- a/sound/soc/codecs/da7219.c
> +++ b/sound/soc/codecs/da7219.c
> @@ -1428,6 +1428,12 @@ static const struct of_device_id da7219_of_match[] = {
>  };
>  MODULE_DEVICE_TABLE(of, da7219_of_match);
>
> +static const struct acpi_device_id da7219_acpi_match[] = {
> +	{ .id = "DLGS7219", },
> +	{ }
> +};
> +MODULE_DEVICE_TABLE(acpi, da7219_acpi_match);
> +
>  static enum da7219_micbias_voltage
>  	da7219_of_micbias_lvl(struct device *dev, u32 val)
>  {
> @@ -1957,6 +1963,7 @@ static struct i2c_driver da7219_i2c_driver = {
>  	.driver = {
>  		.name = "da7219",
>  		.of_match_table = of_match_ptr(da7219_of_match),
> +		.acpi_match_table = ACPI_PTR(da7219_acpi_match),
>  	},
>  	.probe		= da7219_i2c_probe,
>  	.remove		= da7219_i2c_remove,
> --
> 1.9.3
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>

  reply	other threads:[~2016-05-05 13:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05 10:53 [PATCH 0/3] ASoC: da7219: Add ACPI initialisation support to driver Adam Thomson
2016-05-05 10:53 ` [PATCH 1/3] ASoC: da7219: Convert driver to use generic device/fwnode functions Adam Thomson
2016-05-06 12:26   ` Mark Brown
2016-05-06 14:33     ` Opensource [Adam Thomson]
2016-05-06 16:05       ` Mark Brown
2016-05-09 12:05         ` Opensource [Adam Thomson]
2016-05-09 14:56           ` Mark Brown
2016-05-05 10:53 ` [PATCH 2/3] ASoC: da7219: Add ACPI parsing support Adam Thomson
2016-05-06 12:39   ` Mark Brown
2016-05-06 14:45     ` Opensource [Adam Thomson]
2016-05-06 16:42       ` Mark Brown
2016-05-05 10:53 ` [PATCH 3/3] ASoC: da7219: Add initial ACPI id for device Adam Thomson
2016-05-05 13:49   ` Pierre-Louis Bossart [this message]
2016-06-10 10:18 ` [PATCH 0/3] ASoC: da7219: Add ACPI initialisation support to driver Opensource [Adam Thomson]

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=1c031817-6e7c-7e91-75e5-73a72ed0d3ed@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.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;
as well as URLs for NNTP newsgroup(s).