[PATCH v2 0/4] watchdog: aspeed: Retain enabled state and move to arch_initcall
From: Andrew Jeffery
Date: Wed Sep 20 2017 - 01:30:59 EST
This series fixes some issues with the Aspeed watchdog, as outlined in the
v1 cover letter.
I've added a bit of an explanation as to why we call aspeed_wdt_start() in
probe() if the watchdog is already enabled, but the essence of it is to ensure
the watchdog is configured to the expectations of the kernel driver (rather
than however the bootloader configured it).
* Rework patch 1/4 to simply remove the writel() call to restore the original
* Rework patch 4/4 to remove the Kconfig changes to retain the ability to build
the watchdog as a module, and add the exit handler.
Andrew Jeffery (4):
watchdog: aspeed: Retain watchdog enabled state
watchdog: aspeed: Fix 'Apseed' typo in Kconfig
watchdog: aspeed: Remove specific reference to AST2400 in Kconfig
watchdog: aspeed: Move init to arch_initcall
drivers/watchdog/Kconfig | 4 ++--
drivers/watchdog/aspeed_wdt.c | 21 ++++++++++++++++++---
2 files changed, 20 insertions(+), 5 deletions(-)