From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Percival Subject: [PATCH] dmtimer.c omap1 register fix... Date: Fri, 08 Dec 2006 11:52:38 +1100 Message-ID: <1165539159.5155.2.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-iekd4EAHB39lTpCBNN1+" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com Errors-To: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com To: Linux OMAP Open Source List-Id: linux-omap@vger.kernel.org --=-iekd4EAHB39lTpCBNN1+ Content-Type: text/plain Content-Transfer-Encoding: 7bit G'Day, When I went to use dmtimer7 it did not seem to work. I noticed that the base addresses for dmtimers 7 and 8 were set wrong. A simple patch to correct a small error. Confirmed to fix the problem on an OSK. -- Matthew --=-iekd4EAHB39lTpCBNN1+ Content-Disposition: attachment; filename=dmtimer.c.patch Content-Type: text/x-patch; name=dmtimer.c.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit --- a/arch/arm/plat-omap/dmtimer.c 2006-12-06 11:40:06.000000000 +1100 +++ b/arch/arm/plat-omap/dmtimer.c 2006-12-08 11:47:33.000000000 +1100 @@ -90,8 +90,8 @@ { .phys_base = 0xfffb2c00, .irq = INT_1610_GPTIMER4 }, { .phys_base = 0xfffb3400, .irq = INT_1610_GPTIMER5 }, { .phys_base = 0xfffb3c00, .irq = INT_1610_GPTIMER6 }, - { .phys_base = 0xfffb4400, .irq = INT_1610_GPTIMER7 }, - { .phys_base = 0xfffb4c00, .irq = INT_1610_GPTIMER8 }, + { .phys_base = 0xfffb7400, .irq = INT_1610_GPTIMER7 }, + { .phys_base = 0xfffbd400, .irq = INT_1610_GPTIMER8 }, }; #elif defined(CONFIG_ARCH_OMAP2) --=-iekd4EAHB39lTpCBNN1+ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --=-iekd4EAHB39lTpCBNN1+--