commit | 7732c6b96f127bb5d9474715149b4e94e369412c | [log] [tgz] |
---|---|---|
author | Wim Van Sebroeck <wim@iguana.be> | Sun Jul 08 14:57:09 2012 +0200 |
committer | Wim Van Sebroeck <wim@iguana.be> | Mon Jul 23 12:50:30 2012 +0200 |
tree | d7c559fe593843387797360c99a3aad36540ca12 | |
parent | 41814eed414ab3cef3d2b857ae3690a2b4888291 [diff] |
watchdog: sch311x_wdt: Fix Polarity when starting watchdog Some motherboards like the Advantech ARK3400 documentation use a non-inverted GPIO pin. We fix this by assuming that the BIOS will set the Polarity bit for the GPIO correctly at startup and we keep the Bit-setting intact when we start and stop the watchdog. Reported-by: Jean-François Deverge <jf.deverge@gmail.com> Signed-off-by: Dave Mueller <d.mueller@elsoft.ch> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>