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

From: Jarkko Nikula
Date: Mon Sep 10 2012 - 02:45:55 EST


On Sat, 8 Sep 2012 21:04:01 +0300
Aaro Koskinen <aaro.koskinen@xxxxxx> 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>
> ---
>
> v2: Fix a bug in the first version of the patch: __omap_wdt_disable()
> in probe was mistakenly moved outside PM runtime calls. This caused a
> crash as device was probably accessed with some clocks off. Thanks to
> Jarkko Nikula <jarkko.nikula@xxxxxxxxxx> for reporting this.
>
> drivers/watchdog/Kconfig | 1 +
> drivers/watchdog/omap_wdt.c | 266 ++++++++++++++++++-------------------------
> 2 files changed, 114 insertions(+), 153 deletions(-)
>
Tested-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>
--
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/