From patchwork Wed Jun 22 14:41:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 2168 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id F23A123F42 for ; Wed, 22 Jun 2011 14:36:12 +0000 (UTC) Received: from mail-vw0-f52.google.com (mail-vw0-f52.google.com [209.85.212.52]) by fiordland.canonical.com (Postfix) with ESMTP id C051CA18942 for ; Wed, 22 Jun 2011 14:36:12 +0000 (UTC) Received: by vws16 with SMTP id 16so943692vws.11 for ; Wed, 22 Jun 2011 07:36:12 -0700 (PDT) Received: by 10.52.95.194 with SMTP id dm2mr1067886vdb.47.1308753371557; Wed, 22 Jun 2011 07:36:11 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.52.183.130 with SMTP id em2cs140652vdc; Wed, 22 Jun 2011 07:36:11 -0700 (PDT) Received: by 10.14.119.200 with SMTP id n48mr633689eeh.19.1308753370503; Wed, 22 Jun 2011 07:36:10 -0700 (PDT) Received: from AM1EHSOBE004.bigfish.com (am1ehsobe004.messaging.microsoft.com [213.199.154.207]) by mx.google.com with ESMTPS id m10si1245625eeh.20.2011.06.22.07.36.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jun 2011 07:36:10 -0700 (PDT) Received-SPF: neutral (google.com: 213.199.154.207 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) client-ip=213.199.154.207; Authentication-Results: mx.google.com; spf=neutral (google.com: 213.199.154.207 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) smtp.mail=shawn.guo@linaro.org Received: from mail74-am1-R.bigfish.com (10.3.201.247) by AM1EHSOBE004.bigfish.com (10.3.204.24) with Microsoft SMTP Server id 14.1.225.22; Wed, 22 Jun 2011 14:36:09 +0000 Received: from mail74-am1 (localhost.localdomain [127.0.0.1]) by mail74-am1-R.bigfish.com (Postfix) with ESMTP id 298641840143; Wed, 22 Jun 2011 14:36:09 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275dhz2dh87h2a8h668h839h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPVD:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-DOMAIN-IP-MATCH: fail Received: from mail74-am1 (localhost.localdomain [127.0.0.1]) by mail74-am1 (MessageSwitch) id 1308753368930802_23013; Wed, 22 Jun 2011 14:36:08 +0000 (UTC) Received: from AM1EHSMHS008.bigfish.com (unknown [10.3.201.253]) by mail74-am1.bigfish.com (Postfix) with ESMTP id DD86510050; Wed, 22 Jun 2011 14:36:08 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS008.bigfish.com (10.3.207.108) with Microsoft SMTP Server (TLS) id 14.1.225.22; Wed, 22 Jun 2011 14:36:07 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server id 14.1.289.8; Wed, 22 Jun 2011 09:35:43 -0500 Received: from S2100-06.ap.freescale.net (S2100-06.ap.freescale.net [10.192.242.125]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id p5MEZcP1024386; Wed, 22 Jun 2011 09:35:41 -0500 (CDT) From: Shawn Guo To: CC: , Vinod Koul , , Shawn Guo Subject: [PATCH v2 1/6] ARM: mxc: imx-sdma device gets 16K iosize than 4K Date: Wed, 22 Jun 2011 22:41:26 +0800 Message-ID: <1308753691-14442-2-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1308753691-14442-1-git-send-email-shawn.guo@linaro.org> References: <1308753691-14442-1-git-send-email-shawn.guo@linaro.org> MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com 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 4e7fbc2..1c737db 100644 --- a/arch/arm/plat-mxc/devices/platform-imx-dma.c +++ b/arch/arm/plat-mxc/devices/platform-imx-dma.c @@ -62,7 +62,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,