[WATCHDOG] fixed book E watchdog period register mask.
authorLuuk Paulussen <luuk.paulussen@alliedtelesis.co.nz>
Thu, 15 Apr 2010 03:59:10 +0000 (15:59 +1200)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 16 Apr 2010 12:23:04 +0000 (12:23 +0000)
commit0fb06571bbb5c72b4663c20f721323260ea802bf
treeb84deaf4dfbb3a1ce97bb6032a07de9c9afff21e
parent77165a48edeaf4758588563c0592af6559e8b256
[WATCHDOG] fixed book E watchdog period register mask.

A previous fix changed the WDTP function to use the period directly,
rather than subtracting from 63.  However the mask generation was
not changed, so the mask was coming out as 0.  This patch fixes it.

Signed-off-by: Luuk Paulussen <luuk.paulussen@alliedtelesis.co.nz>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/booke_wdt.c