From patchwork Thu May 5 10:53:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Thomson X-Patchwork-Id: 9023471 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F1C4C9F1C1 for ; Thu, 5 May 2016 10:55:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 28AAA20395 for ; Thu, 5 May 2016 10:55:00 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 03069203DA for ; Thu, 5 May 2016 10:54:59 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6033F2665C3; Thu, 5 May 2016 12:54:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 628662661C5; Thu, 5 May 2016 12:53:26 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 48DDD2661C5; Thu, 5 May 2016 12:53:25 +0200 (CEST) Received: from mail1.bemta14.messagelabs.com (mail1.bemta14.messagelabs.com [193.109.254.105]) by alsa0.perex.cz (Postfix) with ESMTP id 7801A265E3F for ; Thu, 5 May 2016 12:53:11 +0200 (CEST) Received: from [85.158.140.211] by server-1.bemta-14.messagelabs.com id 31/AE-02869-7162B275; Thu, 05 May 2016 10:53:11 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHIsWRWlGSWpSXmKPExsUSt3Opsa6omna 4weSF+hZXLh5ispj68AmbxbcrHUwWl3fNYbPo3NXParH6zQIWiw3f1zI6sHts+NzE5rFz1l12 j8V7XjJ5bFrVyeax7+0yNo/1W66yeHzeJBfAHsWamZeUX5HAmrH+4nKWgpUcFav2r2BvYJzD3 sXIxSEksI5RorPlLHMXIyeQUyHxeNMbJhCbVyBTYu++QywgNqeAu8SBf19YIGrcJNY0nWEDsd kELCQmn3gAZrMIqEgceruNEcQWFnCUmPlkDyvIAhGBLkaJ1a8eg21jFtjMKLF7zRJWiA2CEid nPgGbyiwgIXHwxQuoKwwkTi9oBItLCNhLTH9/FSjOAWTrSzQei4UIG0p8n/UNqsRc4tqbPawT GAVnIZk6C8nUBYxMqxg1ilOLylKLdA2N9JKKMtMzSnITM3N0DQ1N9HJTi4sT01NzEpOK9ZLzc zcxAuOCAQh2MJ6d5nyIUZKDSUmUd7uSdrgQX1J+SmVGYnFGfFFpTmrxIUYZDg4lCd7PKkA5wa LU9NSKtMwcYITCpCU4eJREeI+ApHmLCxJzizPTIVKnGHU5lux6sJZJiCUvPy9VSpy3A6RIAKQ oozQPbgQsWVxilJUS5mUEOkqIpyC1KDezBFX+FaM4B6OSMO8ZkCk8mXklcJteAR3BBHTE+7ma IEeUJCKkpBoYLWYf2z5hdjjjnztXjxxuSH7jY5fU91PmwBmJbHPPmrR7Agb9J1b5FV/fE/9/i YRN/s5XZVo7Z76LM/dRc5pgq/SOI8SAmeVmw0W5RTqP7p05HBJacV98arhvs+omOZNjW6cGbN oucU5PQoeF83da2IdNcYdFWjxYOn4lruYI0Uv+erUmuF9RiaU4I9FQi7moOBEAanDGihEDAAA = X-Env-Sender: Adam.Thomson.Opensource@diasemi.com X-Msg-Ref: server-14.tower-194.messagelabs.com!1462445586!34338820!2 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 8.34; banners=-,-,- X-VirusChecked: Checked Received: (qmail 28535 invoked from network); 5 May 2016 10:53:09 -0000 Received: from mailrelay2.diasemi.com (HELO sw-ex-cashub01.diasemi.com) (94.185.165.51) by server-14.tower-194.messagelabs.com with AES128-SHA encrypted SMTP; 5 May 2016 10:53:09 -0000 Received: from swsrvapps-01.diasemi.com (10.20.28.141) by SW-EX-CASHUB01.diasemi.com (10.20.16.140) with Microsoft SMTP Server id 14.3.248.2; Thu, 5 May 2016 11:53:06 +0100 Received: by swsrvapps-01.diasemi.com (Postfix, from userid 22379) id B40653FB5A; Thu, 5 May 2016 11:53:06 +0100 (BST) Message-ID: <7ddf6d5b47424ca3777d33a9f91d30ea7c7c439a.1462285398.git.Adam.Thomson.Opensource@diasemi.com> In-Reply-To: References: From: Adam Thomson Date: Thu, 5 May 2016 11:53:06 +0100 To: Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai MIME-Version: 1.0 X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-KSE-ServerInfo: sw-ex-cashub01.diasemi.com, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 05/05/2016 08:40:00 Cc: Sathyanarayana Nujella , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Support Opensource Subject: [alsa-devel] [PATCH 3/3] ASoC: da7219: Add initial ACPI id for device X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This adds "DLGS7219" ACPI id for the codec. Signed-off-by: Adam Thomson Tested-by: Sathyanarayana Nujella --- sound/soc/codecs/da7219.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 1.9.3 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,