From patchwork Thu Jun 11 11:14:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zidan Wang X-Patchwork-Id: 6587671 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B2F65C0020 for ; Thu, 11 Jun 2015 11:15:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EECE3204D2 for ; Thu, 11 Jun 2015 11:15:46 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id D44E9204AD for ; Thu, 11 Jun 2015 11:15:45 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A338C266583; Thu, 11 Jun 2015 13:15:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, NO_DNS_FOR_FROM,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id CF7FA2664C3; Thu, 11 Jun 2015 13:14:14 +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 8E2C72664C3; Thu, 11 Jun 2015 13:14:13 +0200 (CEST) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0116.outbound.protection.outlook.com [157.56.111.116]) by alsa0.perex.cz (Postfix) with ESMTP id E7DE82663ED for ; Thu, 11 Jun 2015 13:14:05 +0200 (CEST) Received: from BY2PR03CA068.namprd03.prod.outlook.com (10.141.249.41) by DM2PR0301MB1264.namprd03.prod.outlook.com (10.160.220.11) with Microsoft SMTP Server (TLS) id 15.1.190.14; Thu, 11 Jun 2015 11:14:04 +0000 Received: from BN1BFFO11FD013.protection.gbl (2a01:111:f400:7c10::1:152) by BY2PR03CA068.outlook.office365.com (2a01:111:e400:2c5d::41) with Microsoft SMTP Server (TLS) id 15.1.190.14 via Frontend Transport; Thu, 11 Jun 2015 11:14:03 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD013.mail.protection.outlook.com (10.58.144.76) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Thu, 11 Jun 2015 11:14:02 +0000 Received: from b50113.ap.freescale.net (b50113.ap.freescale.net [10.192.241.89]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t5BBDjKk015356; Thu, 11 Jun 2015 04:13:59 -0700 From: Zidan Wang To: Date: Thu, 11 Jun 2015 19:14:36 +0800 Message-ID: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD013; 1:bdfFiUIF2EHqTkj41DxLa7zFlDENsh59gOc/SR3/+iU3M7HfHzlLwa66ZU9eZm8D3D5GVJKBS9ZjAuMbQIIc5dvloxc8IhJEF7dUf44iCawIzepIBGo9RCVwYScZM90kDDsGeMQP2DAUr1sY9BtdyBPq0FaWRkTgH3L1JVohx+EQA8imOFIyXW288ZeOg9zF2sby7ReEDm3iUCCQy1XudO/grn6C5xfYHx/rk604oCPwyBIwr9q/Yk/hSFoZjaf/i+xMej2d4BqrXTVILpWNlg0nRoVdLmDE3K7FKTJUtC0bB3R6O776kbRkKFlctLAXH8HCNT10c7tqaxV3aInNxYxHtAMyrJEs8Lwm52PKzZU= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(339900001)(199003)(189002)(118296001)(6806004)(85426001)(92566002)(86362001)(19580405001)(50466002)(19580395003)(46102003)(77156002)(62966003)(575784001)(50226001)(105606002)(87936001)(189998001)(107886002)(5001960100002)(110136002)(2950100001)(229853001)(104016003)(47776003)(33646002)(5001920100001)(48376002)(2351001)(77096005)(106466001)(76176999)(50986999)(36756003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB1264; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1264; 2:bj6pFA1minCKxGCkNzhmj44MpX4UqzL9IHu1RdNE4gdTCrJLxTFeB5NX/BRJFNkc; 2:CjGt0Peoj4vgdBBCddX9Dy43VG+7y2DmLdOgYoW14El6snzG2B8NrHkaEHBsM9QeHuo5e8EzmKpIL+pR9JdMqnHFcG/+FloOjTZKolpzroiq2iJI0OfZbGGQGPjeTD/LvNeiiB0dKZV3P/RfE87k+fuA4YhAc1kNCk2NW4edELG8wI5oeHATpI6cN4akfScjzcRGqtIBgw+jmk6Mq4PyxnpynfKt8hhEOZf4V/hMVlc=; 6:V+swPp3AGoMbEv98JHo476ij+F9vsISPz5HxANAblKRcF5Lx9GArTyz6WHJpxKGFF2xtpO/7Yz7QtHumQXaCmCILf8HwCeqPArNZu5iDnwrLG1WJwjaPdckIhLmdVvisIyOfHY9aAZM7/IoKoS1aLrgCrQydO6dgwc7uzhUHSeFoW/hhKyVl93AXqniY6mCPbp633dUXE7XwTi2Ui8T3Yog1cPKWZXXR6h1+hieGupW93JasGzJGa0IASQqzldPv+PPmeP7i/F2nPjcEpdYtUkFSf1fBXY8CEnH9ylmPotlS1TDzQOjikKDvpkQ5vhjKQlGrrI9W9PZ8E0aFlK8xXA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB1264; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520003)(3002001); SRVR:DM2PR0301MB1264; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB1264; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1264; 3:DobSnMxfPG5ZJvTDVBoCwejlrcyqGwCMQKh/lHR3wlUsi5+5U2UEQc8mgCWy87/mLxoyLOFUisejzcAJw8/O4a1ZwhqEoJy3E1cTzES+CqkIzKl5SyvJuvrqiNshDIPiYWR0VpzRXZSuudUOLhU1+oZV+VnriEGfKXxOLeaqRZnNu2oAKsqWl8INfegnTznBrp++Q80OoctMcnEGtWLaqEFKrcIaRnaed3ipLXxayHYgraTTl9f9w9aLQkJlAjpe0sFejpujEUuVBwtBQQU3IPPytuj+NZteZJkvEilix8x3tDSgFswzd7fNl350VoWm X-Forefront-PRVS: 0604AFA86B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB1264; 9:6Dx28evJKkTQGZkurYqlR+nfxMOtd5nrbUtVkl+p?= =?us-ascii?Q?Bbvd1sgoj9sVn5T53FT/52rYCxTI4WH+/VOu6LKkXdFUfZvKwdOkqFZwTgor?= =?us-ascii?Q?l1LDv//KCcInkw7klJOv47VojV30plGIbVrpCwAmJVVxMDnGGL1mnJqcpRGO?= =?us-ascii?Q?tcx8vrzdgV79e+dbtn/bJ+TP7HLYtD310phuJ8xJbo3xcGXza5m25ix6Bvzd?= =?us-ascii?Q?xGzCorv3mnL6BgBLrZCxwMneTn4z+KWHrK4oykDymelkS1mwwAD4ZJ3GRpGY?= =?us-ascii?Q?jW8qzRoCxOmuz9Bnff3G1q55bQ8vAhFfpBH1+SBbkMpb1InbURvKe4YOdwid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JuyuTcGoq12Dvy6tK9K5dteXIOL8SuslBsxewkKA1X3XK8hPFdmrHVdaQIUY=; 6:Eprn2WLhM9sCHwm/s/PKYrVZpXwy+w1ReAJYE0jutt15O24SzPhjzUJhioJduVrg X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2015 11:14:02.6576 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB1264 Cc: alsa-devel@alsa-project.org, lars@metafoo.de, Zidan Wang , tiwai@suse.de, linux-kernel@vger.kernel.org, patches@opensource.wolfsonmicro.com, lgirdwood@gmail.com, ckeepax@opensource.wolfsonmicro.com Subject: [alsa-devel] [PATCH 4/4] ASoC: wm8960: the enum of "DAC Polarity" should be wm8960_enum[1] 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 the enum of "DAC Polarity" should be wm8960_enum[1]. Signed-off-by: Zidan Wang Acked-by: Charles Keepax --- sound/soc/codecs/wm8960.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c index 62246f1..d482c0f 100644 --- a/sound/soc/codecs/wm8960.c +++ b/sound/soc/codecs/wm8960.c @@ -254,7 +254,7 @@ SOC_SINGLE("PCM Playback -6dB Switch", WM8960_DACCTL1, 7, 1, 0), SOC_ENUM("ADC Polarity", wm8960_enum[0]), SOC_SINGLE("ADC High Pass Filter Switch", WM8960_DACCTL1, 0, 1, 0), -SOC_ENUM("DAC Polarity", wm8960_enum[2]), +SOC_ENUM("DAC Polarity", wm8960_enum[1]), SOC_SINGLE_BOOL_EXT("DAC Deemphasis Switch", 0, wm8960_get_deemph, wm8960_put_deemph),