From patchwork Mon Jun 13 07:37:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 1829 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.47.109) by localhost6.localdomain6 with IMAP4-SSL; 14 Jun 2011 16:45:49 -0000 Delivered-To: patches@linaro.org Received: by 10.52.181.10 with SMTP id ds10cs438797vdc; Mon, 13 Jun 2011 00:28:40 -0700 (PDT) Received: by 10.236.142.240 with SMTP id i76mr3481041yhj.325.1307950120003; Mon, 13 Jun 2011 00:28:40 -0700 (PDT) Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id d29si8560031and.142.2011.06.13.00.28.39 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 00:28:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) smtp.mail=shawn.guo@linaro.org Received: by mail-pw0-f50.google.com with SMTP id 3so2271336pwi.37 for ; Mon, 13 Jun 2011 00:28:39 -0700 (PDT) Received: by 10.68.14.69 with SMTP id n5mr1860076pbc.315.1307950119366; Mon, 13 Jun 2011 00:28:39 -0700 (PDT) Received: from localhost.localdomain ([114.216.159.33]) by mx.google.com with ESMTPS id y2sm4431178pbi.83.2011.06.13.00.28.21 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 00:28:38 -0700 (PDT) From: Shawn Guo To: linux-arm-kernel@lists.infradead.org Cc: kernel@pengutronix.de, Fabio Estevam , patches@linaro.org, Shawn Guo Subject: [PATCH 1/6] ARM: mxc: imx-sdma device gets 16K iosize than 4K Date: Mon, 13 Jun 2011 15:37:20 +0800 Message-Id: <1307950645-26529-2-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1307950645-26529-1-git-send-email-shawn.guo@linaro.org> References: <1307950645-26529-1-git-send-email-shawn.guo@linaro.org> The sdma on all imx soc gets 16K IO space not 4K. Signed-off-by: Shawn Guo --- arch/arm/plat-mxc/devices/platform-imx-dma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-mxc/devices/platform-imx-dma.c b/arch/arm/plat-mxc/devices/platform-imx-dma.c index b130f60..222e439 100644 --- a/arch/arm/plat-mxc/devices/platform-imx-dma.c +++ b/arch/arm/plat-mxc/devices/platform-imx-dma.c @@ -57,7 +57,7 @@ static struct platform_device __init __maybe_unused *imx_add_imx_sdma( struct resource res[] = { { .start = data->iobase, - .end = data->iobase + SZ_4K - 1, + .end = data->iobase + SZ_16K - 1, .flags = IORESOURCE_MEM, }, { .start = data->irq,