Skip to content

Commit ffffab6

Browse files
pbalsundarcarlescufi
authored andcommitted
drivers: watchdog: wdt_dw: resetting CPU or SoC is not configurable
specific to platform, watchdog reset line can be connected either to CPU, SOC or none of the entity. These resets cannot be configured from the application. So added a warning message when application configures this option Signed-off-by: Balsundar Ponnusamy <[email protected]>
1 parent f033089 commit ffffab6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/watchdog/wdt_dw.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ static int dw_wdt_install_timeout(const struct device *dev, const struct wdt_tim
9191
}
9292

9393
if (config->flags) {
94-
LOG_ERR("Watchdog behavior is not configurable.");
95-
return -ENOTSUP;
94+
LOG_WRN("Watchdog behavior is not configurable.");
9695
}
9796

9897
#if DT_ANY_INST_HAS_PROP_STATUS_OKAY(interrupts)

0 commit comments

Comments
 (0)