commit | 0a0e9e0cb90170f95b4351597fd5c0e65fab6bc5 | [log] [tgz] |
---|---|---|
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | Wed Nov 05 21:53:56 2008 +0100 |
committer | Kumar Gala <galak@kernel.crashing.org> | Sat Nov 08 12:38:59 2008 -0600 |
tree | 740f43631b98680b9cdac96b0ac55c9193188a38 | |
parent | b41d6fee37e2bebd58ad3623c288197e75787905 [diff] |
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>