summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2017-09-20 15:00:17 +0930
committerWim Van Sebroeck <wim@iguana.be>2017-12-28 20:44:48 +0100
commit9f3e13c74e1b4f370c3de06cb504c003091c9673 (patch)
treefbd78134e88a095eb1e8667a3dbe2e55388bb7d9 /drivers/watchdog/Kconfig
parentbe17980d9be5a5c1ece83836b24fabce648b92aa (diff)
downloadlinux-9f3e13c74e1b4f370c3de06cb504c003091c9673.tar.gz
linux-9f3e13c74e1b4f370c3de06cb504c003091c9673.tar.bz2
linux-9f3e13c74e1b4f370c3de06cb504c003091c9673.zip
watchdog: aspeed: Retain watchdog enabled state
An unintended post-condition of probe() is that the watchdog is disabled. This behaviour was introduced by an unnecessary write to the control register to configure the hardware based on the devicetree. The write is unnecessary because the cached control value that is manipulated by the code parsing the devicetree is eventually written by aspeed_wdt_enable(), which is when we care how the control register should be configured. Remove the write to restore expected behaviour. Fixes: b7f0b8ad25f3 ("drivers/watchdog: ASPEED reference dev tree properties for config") Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Reviewed-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/Kconfig')
0 files changed, 0 insertions, 0 deletions