Re: [PATCH 1/2] watchdog: wm8350_wdt: Fix handlingWDIOS_DISABLECARD/WDIOS_ENABLECARD options

From: Mark Brown
Date: Wed Jan 18 2012 - 06:26:29 EST


On Wed, Jan 18, 2012 at 07:25:01PM +0800, Axel Lin wrote:
> While receiving WDIOS_DISABLECARD option for WDIOC_SETOPTIONS command,
> call wm8350_wdt_stop() to disable watchdog.
> Call wm8350_wdt_start() while receiving WDIOS_ENABLECARD option.
>
> Current code has reverse behavior.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
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/