summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sprd_wdt.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2019-11-08 06:29:05 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-11-18 21:53:44 +0300
commitc04571251b3d842096f1597f5d4badb508be016d (patch)
tree7e58068fc76c2ff516e7dc9bbb19d47ba8388667 /drivers/watchdog/sprd_wdt.c
parent6083ab7b2f3f25022e2e8f4c42f14a8521f47873 (diff)
downloadlinux-c04571251b3d842096f1597f5d4badb508be016d.tar.xz
watchdog: aspeed: Fix clock behaviour for ast2600
The ast2600 no longer uses bit 4 in the control register to indicate a 1MHz clock (It now controls whether this watchdog is reset by a SOC reset). This means we do not want to set it. It also does not need to be set for the ast2500, as it is read-only on that SoC. The comment next to the clock rate selection wandered away from where it was set, so put it back next to the register setting it's describing. Fixes: b3528b487448 ("watchdog: aspeed: Add support for AST2600") Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20191108032905.22463-1-joel@jms.id.au Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/sprd_wdt.c')
0 files changed, 0 insertions, 0 deletions