powerpc: Fix Book-E watchdog timer interval setting
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>
Wed, 5 Nov 2008 20:53:56 +0000 (21:53 +0100)
committerKumar Gala <galak@kernel.crashing.org>
Sat, 8 Nov 2008 18:38:59 +0000 (12:38 -0600)
This patch fixes the setting of the Book-E watchdog timer interval setup
on initialization and by ioctl().

On initialization the period bits have to be masked before setting
a new period.

In WDIOC_SETTIMEOUT ioctl we have to use the correct mask.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found