Commit cde10ba3 authored by Wim Van Sebroeck's avatar Wim Van Sebroeck

[WATCHDOG] Revert "Stop looking for device as soon as one is found"

This reverts commit 3ff6eb4a.

the !found check in the for loop allready made sure that only one
device was found.
Signed-Off-By: default avatarPádraig Brady <P@draigBrady.com>
Signed-Off-By: default avatarWim Van Sebroeck <wim@iguana.be>
parent 03bbe082
......@@ -382,10 +382,8 @@ wdt_init(void)
/* we will autodetect the W83697HF/HG watchdog */
for (i = 0; ((!found) && (w83697hf_ioports[i] != 0)); i++) {
wdt_io = w83697hf_ioports[i];
if (!w83697hf_check_wdt()) {
if (!w83697hf_check_wdt())
found++;
break;
}
}
} else {
if (!w83697hf_check_wdt())
......
Markdown is supported
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