Re: [PATCH 1/1] Watchdog driver for AT32AP700X devices

From: Hans-Christian Egtvedt
Date: Fri Jun 08 2007 - 03:44:34 EST


On Thu, 2007-06-07 at 16:09 -0700, Andrew Morton wrote:
> On Wed, 6 Jun 2007 16:04:07 +0200
> Hans-Christian Egtvedt <hcegtvedt@xxxxxxxxx> wrote:
>
> > This patch adds support for the built in watchdog in AT32AP700X devices.
> >
> > Tested on AT32AP7000 and ATSTK1000.
> >
> > Hardware documentation can be found in the AT32AP7000 datasheet.
> >
> > ...
> >
> > +static int __init at32_wdt_probe(struct platform_device *pdev)
> > +{

<cut start of _probe>

> > + wdt->regs = ioremap(regs->start, regs->end - regs->start + 1);
>
> I see an ioremap(), but there are no iounmap()s anywhere.

Hmm, that would be my fault, please see the attach patch, it should
apply clean to -mm after your two -fix{1,2} patches.

--
With kind regards,

Hans-Christian Egtvedt, siv.ing. (M.Sc.)
Applications Engineer - AVR32 System Solutions - Atmel Norway

Attachment: 0001-at32ap700x-wdt-add-missing-iounmap-in-_remove.txt
Description: application/mbox