aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <[email protected]>2022-08-25 12:44:21 +0200
committerHans de Goede <[email protected]>2022-09-01 16:14:53 +0200
commitd948b93ccff2c4d78c6dce4c7e6dc8b90976cdb0 (patch)
tree97e7a1bf2c2f8057ae3597d017d44293b263d281
parenta97126265dfe10d3321c0fde4708a6cea49b19ed (diff)
platform/x86: simatic-ipc: enable watchdog for 227G
Just load the watchdog module, after having identified that machine. That watchdog module does not have any autoloading support. Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Henning Schild <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
-rw-r--r--drivers/platform/x86/simatic-ipc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/x86/simatic-ipc.c b/drivers/platform/x86/simatic-ipc.c
index 1825ef21a86d..8dd686d1c9f1 100644
--- a/drivers/platform/x86/simatic-ipc.c
+++ b/drivers/platform/x86/simatic-ipc.c
@@ -96,6 +96,9 @@ static int register_platform_devices(u32 station_id)
ipc_wdt_platform_device->name);
}
+ if (station_id == SIMATIC_IPC_IPC227G)
+ request_module("w83627hf_wdt");
+
if (ledmode == SIMATIC_IPC_DEVICE_NONE &&
wdtmode == SIMATIC_IPC_DEVICE_NONE) {
pr_warn("unsupported IPC detected, station id=%08x\n",