From patchwork Tue Aug 31 09:27:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 144821 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o7V968J0013515 for ; Tue, 31 Aug 2010 09:40:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756622Ab0HaJ0T (ORCPT ); Tue, 31 Aug 2010 05:26:19 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:33578 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753004Ab0HaJ0T (ORCPT ); Tue, 31 Aug 2010 05:26:19 -0400 Received: by pxi10 with SMTP id 10so2370154pxi.19 for ; Tue, 31 Aug 2010 02:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=3GCiOsUxrITXG0xBR/ZHvCkirVPWowZoBU16qwEVE0s=; b=HOKXRx8GycSAxpmpreN7I5DGyCAkV+Nu8MpDS5PZYagnfTvb1EIQyOJlTIoru63ZpG kHahB97nJf1/+1r0xTmK2pWSyW0dknpqMqhpsc8A8SLKCoTx2/+69Oum+Z2vJZfH03I9 a5nfw5jY0Vr/2mQbA2DObUNfOB58IsV6zLXeA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=bwR+YH8nuWYczq5bT6dV5ml4dXlFiVwVYdp88F+HWaAh1wFd/xoZURsiMDWp5sFcSw 19zEoKLzcG3IajQQ2OcIttAmY9l65StDPIgv4MaH/2C5Fcw7wzY2Ogvqfan+kMou6R4G iOO9RHyD0cAMdDb1t4ktgMAUI7BYQVeqRXVNI= Received: by 10.114.72.9 with SMTP id u9mr6627848waa.137.1283246778636; Tue, 31 Aug 2010 02:26:18 -0700 (PDT) Received: from [127.0.0.1] (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id o17sm9839939wal.21.2010.08.31.02.26.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 31 Aug 2010 02:26:17 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Tue, 31 Aug 2010 18:27:53 +0900 Message-Id: <20100831092753.14892.19054.sendpatchset@t400s> Subject: [PATCH] ARM: mach-shmobile: Use evt2irq() for sh7372 DMAC Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 31 Aug 2010 09:41:28 +0000 (UTC) --- 0001/arch/arm/mach-shmobile/setup-sh7372.c +++ work/arch/arm/mach-shmobile/setup-sh7372.c 2010-08-31 16:03:53.000000000 +0900 @@ -419,14 +419,14 @@ static struct resource sh7372_dmae0_reso }, { /* DMA error IRQ */ - .start = 246, - .end = 246, + .start = evt2irq(0x20c0), + .end = evt2irq(0x20c0), .flags = IORESOURCE_IRQ, }, { /* IRQ for channels 0-5 */ - .start = 240, - .end = 245, + .start = evt2irq(0x2000), + .end = evt2irq(0x20a0), .flags = IORESOURCE_IRQ, }, }; @@ -447,14 +447,14 @@ static struct resource sh7372_dmae1_reso }, { /* DMA error IRQ */ - .start = 254, - .end = 254, + .start = evt2irq(0x21c0), + .end = evt2irq(0x21c0), .flags = IORESOURCE_IRQ, }, { /* IRQ for channels 0-5 */ - .start = 248, - .end = 253, + .start = evt2irq(0x2100), + .end = evt2irq(0x21a0), .flags = IORESOURCE_IRQ, }, }; @@ -475,14 +475,14 @@ static struct resource sh7372_dmae2_reso }, { /* DMA error IRQ */ - .start = 262, - .end = 262, + .start = evt2irq(0x22c0), + .end = evt2irq(0x22c0), .flags = IORESOURCE_IRQ, }, { /* IRQ for channels 0-5 */ - .start = 256, - .end = 261, + .start = evt2irq(0x2200), + .end = evt2irq(0x22a0), .flags = IORESOURCE_IRQ, }, };