diff options
author | Ulrik Bech Hald <ubh@ti.com> | 2009-06-12 16:18:32 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2009-06-23 07:13:36 +0000 |
commit | 789cd4702bf830416d2e1794495407be42fe95ad (patch) | |
tree | 2fa371c73af28b622743dc05c2f57cd81a20e0b8 /kernel | |
parent | 90074dce5537e87b27125505bb89a373567a7ede (diff) | |
download | op-kernel-dev-789cd4702bf830416d2e1794495407be42fe95ad.zip op-kernel-dev-789cd4702bf830416d2e1794495407be42fe95ad.tar.gz |
[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 'kernel')
0 files changed, 0 insertions, 0 deletions