Skip to content
Commit 789cd470 authored by Ulrik Bech Hald's avatar Ulrik Bech Hald Committed by Wim Van Sebroeck
Browse files

[WATCHDOG] OMAP fixes: enable clock in probe, trigger timer reload



This patch contains two fixes:

1)In omap_wdt_probe() the watchdog is reset and disabled. This
requires register access and the clks needs to be enabled temporarily

2)In omap_wdt_open() the timer register needs to be reloaded
to trigger a new timer value (the default of 60s)

Tested on OMAP34xx platform (Zoom1)

Reviewed-by: default avatarKevin Hilman <khilman@ti.deeprootsystems.com>
Signed-off-by: default avatarUlrik Bech Hald <ubh@ti.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 90074dce
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