Re: [PATCH] watchdog: omap_wdt: convert to new watchdog core

From: Aaro Koskinen
Date: Fri Sep 07 2012 - 11:52:13 EST


On Fri, Sep 07, 2012 at 04:31:07PM +0300, Jarkko Nikula wrote:
> On Tue, Sep 04, 2012 at 05:41:24PM +0300, Aaro Koskinen wrote:
> > Convert omap_wdt to new watchdog core. On OMAP boards, there are usually
> > multiple watchdogs. Since the new watchdog core supports multiple
> > watchdogs, all watchdog drivers used on OMAP should be converted.
> >
> > The legacy watchdog device node is still created, so this should not
> > break existing users.
> >
> > Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx>
> > ---
> > drivers/watchdog/Kconfig | 1 +
> > drivers/watchdog/omap_wdt.c | 268 ++++++++++++++++++-------------------------
> > 2 files changed, 115 insertions(+), 154 deletions(-)
> >
> Am I missing some extra patch but this causes a crash on top of v3.6-rc4
> commit eeea3ac?
>
> Crash happens in omap_wdt.c:99 on Nokia N9.

Thanks for the report! I'll look into this and test with other
Nokia boards. I tested the patch only with N800 and v3.6-rc4
(4cbe5a555fa58a79b6ecbb6c531b8bab0650778d) and did not see any issues
with normal use cases (boot, watchdog open, feeding, watchdog close).

A.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/