[WATCHDOG] Fix COH 901 327 watchdog enablement
authorLinus Walleij <linus.walleij@stericsson.com>
Mon, 20 Jul 2009 22:40:46 +0000 (00:40 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 2 Aug 2009 19:56:30 +0000 (19:56 +0000)
commit5973bee46fe66db94fab198979dec87f263fc2a8
treef252e44eeea16d183e993d8e8deb7cf87e8db124
parented680c4ad478d0fee9740f7d029087f181346564
[WATCHDOG] Fix COH 901 327 watchdog enablement

Since the COH 901 327 found in U300 is clocked at 32 kHz we need
to wait for the interrupt clearing flag to propagate through
hardware in order not to accidentally fire off any interrupts
when we enable them.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/coh901327_wdt.c