Skip to content
Commit 0a0e9e0c authored by Matthias Fuchs's avatar Matthias Fuchs Committed by Kumar Gala
Browse files

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: default avatarMatthias Fuchs <matthias.fuchs@esd-electronics.com>
Acked-by: default avatarTimur Tabi <timur@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent b41d6fee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment