[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: NKevin Hilman <khilman@ti.deeprootsystems.com> Signed-off-by: NUlrik Bech Hald <ubh@ti.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
Showing
想要评论请 注册 或 登录