diff options
author | Ulrik Bech Hald <ubh@ti.com> | 2009-06-13 01:18:32 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2009-06-23 11:13:36 +0400 |
commit | 789cd4702bf830416d2e1794495407be42fe95ad (patch) | |
tree | 2fa371c73af28b622743dc05c2f57cd81a20e0b8 /block | |
parent | 90074dce5537e87b27125505bb89a373567a7ede (diff) | |
download | linux-789cd4702bf830416d2e1794495407be42fe95ad.tar.xz |
[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: Kevin Hilman <khilman@ti.deeprootsystems.com>
Signed-off-by: Ulrik Bech Hald <ubh@ti.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions