Skip to content
Commit 7732c6b9 authored by Wim Van Sebroeck's avatar Wim Van Sebroeck
Browse files

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: default avatarJean-François Deverge <jf.deverge@gmail.com>
Signed-off-by: default avatarDave Mueller <d.mueller@elsoft.ch>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 41814eed
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