From patchwork Thu Apr 24 11:33:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolin Chen X-Patchwork-Id: 4049741 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 236F99F1F4 for ; Thu, 24 Apr 2014 11:31:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 54788202A1 for ; Thu, 24 Apr 2014 11:31:50 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id D4323201BB for ; Thu, 24 Apr 2014 11:31:47 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id C6067265200; Thu, 24 Apr 2014 13:31:45 +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,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 695B626524C; Thu, 24 Apr 2014 13:31:38 +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 AB875265253; Thu, 24 Apr 2014 13:31:36 +0200 (CEST) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0241.outbound.protection.outlook.com [207.46.163.241]) by alsa0.perex.cz (Postfix) with ESMTP id 186EF264F19 for ; Thu, 24 Apr 2014 13:31:27 +0200 (CEST) Received: from BL2PR03CA014.namprd03.prod.outlook.com (10.141.66.22) by SN2PR03MB032.namprd03.prod.outlook.com (10.255.175.42) with Microsoft SMTP Server (TLS) id 15.0.921.12; Thu, 24 Apr 2014 11:31:24 +0000 Received: from BN1BFFO11FD005.protection.gbl (2a01:111:f400:7c10::1:164) by BL2PR03CA014.outlook.office365.com (2a01:111:e400:c1b::22) with Microsoft SMTP Server (TLS) id 15.0.929.12 via Frontend Transport; Thu, 24 Apr 2014 11:31:24 +0000 Received: from az84smr01.freescale.net (192.88.158.246) by BN1BFFO11FD005.mail.protection.outlook.com (10.58.144.68) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Thu, 24 Apr 2014 11:31:24 +0000 Received: from rio.ap.freescale.net (rio.ap.freescale.net [10.192.242.9]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s3OBVJYA007583; Thu, 24 Apr 2014 04:31:19 -0700 From: Nicolin Chen To: Date: Thu, 24 Apr 2014 19:33:07 +0800 Message-ID: <1398339187-12097-1-git-send-email-Guangyu.Chen@freescale.com> X-Mailer: git-send-email 1.8.4 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.246; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(6009001)(428001)(189002)(199002)(50986999)(76482001)(77096999)(80022001)(86362001)(81342001)(19580405001)(83322001)(19580395003)(81542001)(62966002)(20776003)(47776003)(44976005)(6806004)(80976001)(74502001)(74662001)(93916002)(92726001)(77982001)(92566001)(31966008)(99396002)(79102001)(87286001)(4396001)(36756003)(85852003)(83072002)(48376002)(50466002)(50226001)(87936001)(77156001)(88136002)(89996001)(46102001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB032; H:az84smr01.freescale.net; FPR:AC7DF136.C4D842DB.A2FC1FDB.BCFABAF0.2019A; MLV:sfv; PTR:gate-az5.freescale.com; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Forefront-PRVS: 01917B1794 Received-SPF: None (: freescale.com does not designate permitted sender hosts) X-OriginatorOrg: freescale.com Cc: alsa-devel@alsa-project.org, lars@metafoo.de, tiwai@suse.de, lgirdwood@gmail.com, kernel@pengutronix.de, shawn.guo@linaro.org Subject: [alsa-devel] [PATCH] ASoC: fsl: Drop formats limitation for imx-pcm-dma.c 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 Now ASoC core is getting the intersection of supported formats not only from CPU and CODEC dai's but also from DMA's. However, there should be no specific width limitation from SDMA side. So drop it. Otherwise, we would only support S16_LE format for all i.MX platforms. Signed-off-by: Nicolin Chen --- sound/soc/fsl/imx-pcm-dma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/fsl/imx-pcm-dma.c b/sound/soc/fsl/imx-pcm-dma.c index 2585ae4..0849b7b 100644 --- a/sound/soc/fsl/imx-pcm-dma.c +++ b/sound/soc/fsl/imx-pcm-dma.c @@ -40,7 +40,6 @@ static const struct snd_pcm_hardware imx_pcm_hardware = { SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME, - .formats = SNDRV_PCM_FMTBIT_S16_LE, .buffer_bytes_max = IMX_SSI_DMABUF_SIZE, .period_bytes_min = 128, .period_bytes_max = 65535, /* Limited by SDMA engine */