]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit0a0e9e0cb90170f95b4351597fd5c0e65fab6bc5
tree740f43631b98680b9cdac96b0ac55c9193188a38
parentb41d6fee37e2bebd58ad3623c288197e75787905
powerpc: Fix Book-E watchdog timer interval setting

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>
drivers/watchdog/booke_wdt.c