From patchwork Mon Aug 10 02:43:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zidan Wang X-Patchwork-Id: 6979221 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 D0200C05AC for ; Mon, 10 Aug 2015 02:42:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0E18220734 for ; Mon, 10 Aug 2015 02:42:37 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id E8CAE20727 for ; Mon, 10 Aug 2015 02:42:35 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id CB85E2651C8; Mon, 10 Aug 2015 04:42:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, NO_DNS_FOR_FROM, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 43FEE265163; Mon, 10 Aug 2015 04:42:21 +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 69E5A265171; Mon, 10 Aug 2015 04:42:20 +0200 (CEST) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0145.outbound.protection.outlook.com [157.56.110.145]) by alsa0.perex.cz (Postfix) with ESMTP id 080E426512D for ; Mon, 10 Aug 2015 04:42:13 +0200 (CEST) Received: from BY2PR03CA006.namprd03.prod.outlook.com (10.255.93.23) by BN3PR0301MB1251.namprd03.prod.outlook.com (10.161.207.27) with Microsoft SMTP Server (TLS) id 15.1.225.19; Mon, 10 Aug 2015 02:42:10 +0000 Received: from BN1AFFO11FD047.protection.gbl (10.255.93.4) by BY2PR03CA006.outlook.office365.com (10.255.93.23) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Mon, 10 Aug 2015 02:42:10 +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 BN1AFFO11FD047.mail.protection.outlook.com (10.58.53.62) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Mon, 10 Aug 2015 02:42:09 +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 t7A2g5nG006997; Sun, 9 Aug 2015 19:42:06 -0700 From: Zidan Wang To: Date: Mon, 10 Aug 2015 10:43:49 +0800 Message-ID: X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD047; 1:CNThZFmAO4HfHIdEgnejS21hBEEpm110TJkXCnd5Zi9j0SYJv8AqimvjYg/NqsXjSQUukFHKycx6uMMhteshm4cLEVepOBhfS4ZjOBWtjF1QWMD7kOwtQuv26WF9x3C9Hexi86T9u4WbmnAwPRoL9SLDOjQlWzJeV+g/90ZSHEuWS0i6yLH1XBRsreU5Qv83oWM4qQnQwFeGx5w/jUfP1VdB9+cBHxR9dGjIo47WA4LeX2FKai5pMyeEaZZJNwyRdEZeF+uxf6yOiB0llWBdjtGEu9qKyCLM+muMfxZlTKqaMTXaTLQDfMzK7dv8EPbi9DW78kGDJdHoGnH43ujX0KIeJfzh4SM1k0Rfhf9J/B4= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(1060300003)(2980300002)(339900001)(189002)(199003)(36756003)(50466002)(64706001)(229853001)(68736005)(50986999)(2351001)(104016003)(77156002)(50226001)(118296001)(4290100001)(62966003)(110436001)(86362001)(48376002)(5001920100001)(85426001)(81156007)(5003940100001)(47776003)(92566002)(77096005)(19580395003)(5001830100001)(69596002)(5001960100002)(87936001)(19580405001)(97736004)(5001860100001)(33646002)(46102003)(106466001)(107886002)(105606002)(110136002)(4001540100001)(6806004)(2004002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1251; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1251; 2:OaiDph0WIs9xOUcAcuz8cdEnBlqNKvzFgQJgbCxopErtgnQdztYo+87s0a0Ka6FxKiJSgqwz95Ym67F0icNm9AFaXOmEMo7Q5ujyH64sSgni4G7YmXKNpPtgjf7DvrJjUWNX47UZ1JPe+mzHH9U/VfY8JyuTZSdHC7bwhCRcfAE=; 3:ZjLZ2fiiWv7q31DdNIWfYNu9o1gofAqNHu422mxjzwMwo9Ll+sz9zK5L4jhcs6P+y9kNKXavCx/Dy3RGIIip1Ur8CKkdfWYPmqzoOhSBPm4Xxf5rBQ5GsYLatzfaLnZiMC71+ynC+oEMU4CkcQ7p05zTLFjCMQO1Nq7GdwRKikFC2SpuAwDRIEQe5J1CbgbJn+aklXAe4762LZ5xyXFydqnoeailLZBdVEBJTuB5VyU=; 25:qNAePuZadZi8qAVA4wTyQDKx8yJw+ue0+AOwO6jTAKZQjriEYA3ubBc7D0HqNgPTnAuXt+9q9mK1goRlTIvvQRKVWLs08QuHGyyZh2Yz7ALs43kURqNETeDxyQ53itXKIXdveMe6AEZm/kSKfhIBPEBOzzUuTisentk3F4wBJkgtYKF5eRPQzHFay+OqHfYWZF1L9JoQwJ/8C0GLfmGV8ExsXP+1tAHnRHqreVnedvYqGnnFfdBVKyMkAoSqZc5T0ZeGdb/YoKywUCZeyCM/NQ== X-Microsoft-Antispam: UriScan:;BCL:1;PCL:0;RULEID:;SRVR:BN3PR0301MB1251; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1251; 20:OskIjvU5p3+hca3N6COJyQOWafHyUDev1ZsDDfAFu8c1ByLOPniL70WKRLt9GUDoK4ut7LSRe19kMIY9qoUH68+UhX0FTlCEkN761HXeh5+e7yTg476wz/Viff7qhBk6vXyisJtsM+9DlsjdlXFDfJ54iLLHp4wim3JCaJoZAWMHPnkpR4fGHTiMd705xqNJ+bJJhpeNqBKRlCiZ2MrV4FpXy/scsPfbVQ95ETIxmI9BCaeQTM8l6T7J/q1Sl9vR+8kg025j5ztPrbzC6E4yqshr7PimFU2odlRj/ER1gu4ElaplbfmaVRufXMTf6pzC6VLRWhEyeE592VaGxnpK238bQXR88lTnzf7UIOCszsQ=; 4:TE+ur9cffc8SrZMmC1Z9PORXT4zFgvV3Ok3N9WEJ7OcBCr09CE3UrLFtYjVi7AZdj9h+Iv36k5vc05xIQjYCzptH25KR6wF8bMiAevX/M9GRgfNnetc0JKvbE5KvKKAAR2C0gajcrOuhDHUU6zlKEL2zNqwfaKg0vz6goM/4T/CjJD8x1HYZ1fIUrnJxx9L2BCquUpCsPriATI6r2bTIDcmBf2iLAqBlxFAoE4kpWg35K0ym1LL3DfG2xffdiQphjo+LuKRbXbUdidj3JAfxXYMDzaWlR1XBcbMTqMzGs1hW7pOrMoeqJH0s+FxO+Fle X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:1; PCL:0; RULEID:(601004)(5005006)(1201001)(3002001); SRVR:BN3PR0301MB1251; BCL:1; PCL:0; RULEID:; SRVR:BN3PR0301MB1251; X-Forefront-PRVS: 06640999CA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1251; 23:1Yrsb9T7ZOye+84b6TUNO8eUcqNZdIpNRtfSNOP?= =?us-ascii?Q?ClYNd+N+9Kc1Cs8zbTyUdwLq4yvKlQF4Hcpfgs2nHaydgL67LJTawFGTTBTr?= =?us-ascii?Q?l0QY3/KmJiWwZbd72aEGFfMbsX0m8EKet7tTOO7lRcsA3C3aa/AcSApE4a0o?= =?us-ascii?Q?X9sxeVT0QN8QIbvtOx+/kXg3uzVQE7fICzsQeBXNvtbXxzCLth0E64jObIlV?= =?us-ascii?Q?P5Y36sxENAFmwff4MPhJtCTrJYp6qfm1wRT4YYpSoM5Handy1tIk7tDkdvm1?= =?us-ascii?Q?/vBNO0iV+4a3e9zhbIdYxzEFBC5bNgdSoM4hHRhxHDepcqn7lTyToiHUV4EU?= =?us-ascii?Q?xcc9wlHq9iDw6pp44GG2Wg33gEoc/yY52CZGnbCUie7GfRcNwVSXx2n2fMN8?= =?us-ascii?Q?79KFNiD9XOA69UVnk7yn/Zn5NOi4ikRArmVNwemk8VX66ob3Y4HhchZDSeK5?= =?us-ascii?Q?1EVlCnB+4GSWp0E6utdu5AiuKPRnjviK1llg6v/A8RY8hzfg0jPLx2wS0chs?= =?us-ascii?Q?OCoeRSZHsMu64g4dYcI826j3OAry7OEmlYR4dh1cUJbV362GPlH+lqlnwd7Y?= =?us-ascii?Q?C5kAwXYOnWNKHzhiWyxi4J16kLiF9JAue6jddvhQAo4othh7trM+jbHlWJhE?= =?us-ascii?Q?Gn2MsPn+M6cvKdxxAHkYGFEuOxAUSx5vZ82ssCPP7ZTRmC/8KEucMMKbX1A0?= =?us-ascii?Q?Caj/wPu29NIPug77Y3vFiUaBUkySdYmxN6hAsgaPHHAtGg/4GtoId4L4uU7z?= =?us-ascii?Q?qOnrN79tmfWF5If0objHdjK4r89o0wDIx3H/ZbycZCwyoGCdDGFJ4GEpcViw?= =?us-ascii?Q?YM4KcJa9tqpdxqjD9oKA7V90DhcpTbdtQZh23yba+kFwdwcQ+/O+2NIlZj7E?= =?us-ascii?Q?FgovS/XdBumaE/XdVI/Ns9nH6LfVTp4d6FCBfepzFkJrIMS5xNVlb+rEOjJg?= =?us-ascii?Q?pkp56VrpXXrNGhZmMClVB4jLrKP0nTQwcgUt9+zONFLONFE+193yL/Q/DWwD?= =?us-ascii?Q?o84Wf3gMwmqBtrBRsFi3AM/MZS46xpqV/6ALUMqeolvz/sQPkSUPYD2M5USQ?= =?us-ascii?Q?NcfTLb2Nr/N2HxAaPkV+E+Fgun+u2ForlrfG5rUbclfd1oBDMdX80E9QEu2Y?= =?us-ascii?Q?4adpoZTA+QJ4Q6qcMIdsdW8LiMBUuMQYHCpMW81roH9DTvTyEeSeQlDWk5LV?= =?us-ascii?Q?0w6hqF2F/WJSNZlk4tAdmeu4K4zUIBUyt9AHuFoGNMaEG6jULbXVv9VWTG8e?= =?us-ascii?Q?s4vO3rYG/RufvCIEa1GU=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1251; 5:Q9Vp0B351DhzlppM9DihyxMHBLBeLCVZKPgGpYfs2KrOxDBxmZHzA3ox+HL9QqXJK+Fv8FJnucZVR59RWZipwH45kZFE9pSwX6Do6G3QzT+SRIhg4gIAkd3UV+pyYWnro51qvyv6iK4fOMqHN2xeAA==; 24:ZVpYKlvBn846cI8Io87yTg0L9SaIopKoV0PXHOgKIVfFFyOZ8tpa0VcPr0ElFgVYm/zz9kfvO/kF6eCDi+XPz8Avkmgca2SgS/nOcvj/x9U=; 20:Zf/pv6f0cQQoYXHPkTncpwF+DxgOQLchcANIXvsWgL/kam5sVIW9N+noSSXiul5E+CwAaqxcvfbV5eQe8VrOEw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2015 02:42:09.8074 (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: BN3PR0301MB1251 Cc: alsa-devel@alsa-project.org, timur@tabi.org, Zidan Wang , Xiubo.Lee@gmail.com, tiwai@suse.com, broonie@kernel.org Subject: [alsa-devel] [PATCH v2] ASoC: fsl-sai: add 32 bit word length support 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 Add 32 bit word length support. There are no code changes required in the SAI driver since it has already wirten the word width to the corresponding register. Signed-off-by: Zidan Wang --- sound/soc/fsl/fsl_sai.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h index 0662809..40280ce 100644 --- a/sound/soc/fsl/fsl_sai.h +++ b/sound/soc/fsl/fsl_sai.h @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 Freescale Semiconductor, Inc. + * Copyright 2012-2015 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -13,7 +13,8 @@ #define FSL_SAI_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\ SNDRV_PCM_FMTBIT_S20_3LE |\ - SNDRV_PCM_FMTBIT_S24_LE) + SNDRV_PCM_FMTBIT_S24_LE |\ + SNDRV_PCM_FMTBIT_S32_LE) /* SAI Register Map Register */ #define FSL_SAI_TCSR 0x00 /* SAI Transmit Control */