Message ID | 1518766875-15164-1-git-send-email-akshu.agrawal@amd.com (mailing list archive) |
---|---|
State | Accepted |
Commit | ba7a3a971d2726affba6335496b5452a6e288e61 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D44DB602CB for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 16 Feb 2018 07:54:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C74EE29350 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 16 Feb 2018 07:54:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC0C029360; Fri, 16 Feb 2018 07:54:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F25CA29350 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 16 Feb 2018 07:54:46 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 794E7267D6A; Fri, 16 Feb 2018 08:54:45 +0100 (CET) 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 E8FDB26778B; Fri, 16 Feb 2018 08:54:44 +0100 (CET) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0059.outbound.protection.outlook.com [104.47.40.59]) by alsa0.perex.cz (Postfix) with ESMTP id 5F52826778B for <alsa-devel@alsa-project.org>; Fri, 16 Feb 2018 08:54:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=X6Cz1kvKU4Fl+OTxybRjUy+ZvMmmOA94qOsAhG/nL5I=; b=0j0dz5mWATxOvIYfpdun0K0bfQqap7fYgQPSEvdDUKG76mEAAuEOfqz/8/WwEHfbkzK5hGmOA85tiO6Gx4Q1ypvsdhDUIBbrF+J5wq6fTIiUqc8UjqbpXZ7CE7xpU6lqJjHtkvPnD7ZyD4UA1hIgZmDJcP/9MN9gW7Qsak5x2Ig= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Akshu.Agrawal@amd.com; Received: from akshu-HP-EliteBook-745-G2.amd.com (202.56.249.162) by BN6PR1201MB0179.namprd12.prod.outlook.com (10.174.115.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Fri, 16 Feb 2018 07:54:33 +0000 From: Akshu Agrawal <akshu.agrawal@amd.com> To: broonie@kernel.org, alsa-devel@alsa-project.org Date: Fri, 16 Feb 2018 13:11:12 +0530 Message-Id: <1518766875-15164-1-git-send-email-akshu.agrawal@amd.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [202.56.249.162] X-ClientProxiedBy: MAXPR0101CA0053.INDPRD01.PROD.OUTLOOK.COM (10.174.63.15) To BN6PR1201MB0179.namprd12.prod.outlook.com (10.174.115.11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 501594de-2f07-4dc9-fee7-08d57512857c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BN6PR1201MB0179; X-Microsoft-Exchange-Diagnostics: 1; BN6PR1201MB0179; 3:gyPSmQPccwkBU7wNIcYAsHXQwSfQV3ulqeSvtfLF67Xeq0nEvQ5RngHRUS+Bn9zqoRMiCJKAc+FGwj78LIfZDXpuDiEthPViHfVkIy7ShWW8eq3pwfiY0PrLUZFCip/lGkJYlPtTAv/I5BAzYT3Ulyoxq533JFMUYexVnTeN2M872Ym0OJpcrW+31DxMUkfMrQJqBilk1J/cmOyz2ZToFbdfdU9hWM8LqB+oFTwWNOd2c3eUJ6Sj1PFpfnQlyVrP; 25:QMDA63lTdwrD+ul6b6jj7STlw0VQ41VPWPb+cut9xYwcgpK3RHrkZHomb/oqCvNcWy0MTOTvruADVsvrbUHMCxSoaG3av6+Mzs4ss8jrVzTbHmMGDSsbRuyyALD8HtF4yLHSsUtAzOUS0YpcyiHpS+vW9gbTwiSrEKBCLGuHIzpPiVikrYiDzrhQ9tMXKC2TB3MExrSiMeP+7++cfe9jQXN2zHWAjEuhigZs6K6qhQG0PDLPJa9T8gWBCoa56QSJxwiGHeQJjvQmeioYwy8Bq1lBDdbMuVpPH4h3XP5HKD/PCzu4Sss9rDoJEWIvquiB9DURjBHUKBfVpI2Q3yoneg==; 31:A0QaiR8fDvF33vOlQLigV3pWNvLdu8sBFdL1gBgySLY/R1TBzCyzl6+stcTg6OB0jBYToQMNjoY/lyLtOct8+EtSepGVBM8l3e/3o4q3Y6pOTYdkYFEQueGbyfM1SZMPsdZu14Gwewx4YSOU8RJ4hqAHU/LYvtRrA4FsYXtVL1OSB2/LKd6sWUiTxjY6RxiYC++ffZiG6VbDegossRtGrTUB1AAWB4GqAOe7hiq6was= X-MS-TrafficTypeDiagnostic: BN6PR1201MB0179: X-Microsoft-Exchange-Diagnostics: 1; BN6PR1201MB0179; 20:cAHCgijDUpvDEebCuBYz7t0HPq52CwfX2JYaJZ4nGed3046os+spuM09FiM/AyVRDEAzl2SVCPq/dUpOae6ojLskyMA4XNiDs+oovUGmkxfl0EXNXeFRM9Ptxf+nNHxjS1KidwjJtST8i3OJ7ynlCMZozbDLzczCN2gbEfv/vIzIuvpymSSdFTLyuQvruF9vcPdFzMJpMIEXJD9yDUVlwn19yqybDCmgYy1AHESRFdKvhn7Z04lkEg40RGF7yhsKbdcWbIdhR1+9oW2fRUQCNJSCCSoJJoR4TQNhEQY31pzHwYkyroHM4cHnBdacnpiH4jX/3xrVw2Qmaz0WOlqpJA8Z9zBanGppGdRcjFLzxiLo2+1OS/BNIN7BwXUJnSUS9Pvld7e9+Sh1PRCNokNZTcPNXoayPrOdMsGuTXq7O6YKW8VFbWyzjlP7gkkNvYpjDe2MlzN1XXtr682J6ysdk24SOI8mzIPLt0GOKB1PnzyXnHcUEprw5N1iWl7d5t5v; 4:eRxWg8L3QEAZA2OriQzxcBUo4ofdIuqOdcbsmYw0MjljSZG9rdz2zxZNGP0hCZ5GwOXDTy67MtKEBAhpK+kVPl0QU+pV3uAROaQl+MTDWhHN8bHffRfVMqvUrsyk3ITC5NS6lvi26zcs/8HUCmdEotMEfu+BvE9AqmN1bcMam4bjFgsNuM96OmOhQ2QIJ+UO4VWyaooQd0auAos68Iz97m7+R4i/EUvoC7CcYmTWXZa7B0wqcDVPa63JvIFNqF8T98NzQUOchdFRcRqNT4yDFX1i4IbiTRjlk5H3kLFlSRpNRdA64HFB5EXBgET5MGIM X-Microsoft-Antispam-PRVS: <BN6PR1201MB01795515E1C62D79A3C9D798F8CB0@BN6PR1201MB0179.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231101)(944501161)(3002001)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:BN6PR1201MB0179; BCL:0; PCL:0; RULEID:; SRVR:BN6PR1201MB0179; X-Forefront-PRVS: 0585417D7B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(39380400002)(376002)(366004)(396003)(189003)(199004)(8676002)(6486002)(51416003)(81156014)(81166006)(105586002)(4326008)(2906002)(16586007)(316002)(386003)(478600001)(50226002)(53416004)(7696005)(8936002)(52116002)(72206003)(66066001)(47776003)(53936002)(26005)(6116002)(3846002)(6666003)(16526019)(1857600001)(186003)(36756003)(86362001)(5660300001)(25786009)(39060400002)(7736002)(305945005)(50466002)(48376002)(97736004)(106356001)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1201MB0179; H:akshu-HP-EliteBook-745-G2.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR1201MB0179; 23:ND6XeJUKeXuQpz7Slg2aNW1ye0Q1/eFKT4N9C2t?= =?us-ascii?Q?hB2CdEePAeoJndLIYbu1MMDoeOoRZBNoNr39sURY7zGhhCVaaqFVWut3ZDP4?= =?us-ascii?Q?+vDXoHTEHmw01zl6G/z7SD4JujI3Z4+MW6My+tRQEPDrxjuRKtZDGIfQmB+o?= =?us-ascii?Q?GXOo5XFtG5fdaS7yDSdm63GEMQAObBMNcbwqVgygdt9VRK6YaxL/azxmx7w5?= =?us-ascii?Q?Mfo8P2ObZLP5igouJs4fXSsrMgnBd8whJMYh4NDdfMRKOdnW17X8lz7j0tYh?= =?us-ascii?Q?ZaFDd258juv0bCvSJ1JsCA1s6JIEtyfgxaerWE9KapD3zIMwz2DQXI3Xk6MF?= =?us-ascii?Q?7YVxKlsvsInGpvM8qjhd5PtEbpI0iwDL0OV/uSQbB1/naFsTc7maeBR+8Ecp?= =?us-ascii?Q?h019F5q2RjtFSo1to5ON9lCnbDL+gYC9q7hKI2YB3TmdxVRy3FkoeZNP8d9h?= =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X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2018 07:54:33.4247 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 501594de-2f07-4dc9-fee7-08d57512857c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1201MB0179 Cc: tiwai@suse.de, lgirdwood@gmail.com, akshu.agrawal@amd.com Subject: [alsa-devel] [PATCH] ASoC: ADAU7002: Adding ACPI id 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" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/codecs/adau7002.c b/sound/soc/codecs/adau7002.c index 49475e3..fdff868 100644 --- a/sound/soc/codecs/adau7002.c +++ b/sound/soc/codecs/adau7002.c @@ -7,6 +7,7 @@ * Licensed under the GPL-2. */ +#include <linux/acpi.h> #include <linux/init.h> #include <linux/module.h> #include <linux/of.h> @@ -69,10 +70,19 @@ static int adau7002_remove(struct platform_device *pdev) MODULE_DEVICE_TABLE(of, adau7002_dt_ids); #endif +#ifdef CONFIG_ACPI +static const struct acpi_device_id adau7002_acpi_match[] = { + { "ADAU7002", 0 }, + {}, +}; +MODULE_DEVICE_TABLE(acpi, adau7002_acpi_match); +#endif + static struct platform_driver adau7002_driver = { .driver = { .name = "adau7002", .of_match_table = of_match_ptr(adau7002_dt_ids), + .acpi_match_table = ACPI_PTR(adau7002_acpi_match), }, .probe = adau7002_probe, .remove = adau7002_remove,