diff options
| author | Quentin Schulz <[email protected]> | 2022-11-15 11:20:14 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2022-11-22 08:56:26 +0100 |
| commit | dca313ff9dea03d523e3a63568b5ed265f811c91 (patch) | |
| tree | 145e87f81c9d9ebea2dc628d0b7acfb0c8d54eee /include/linux | |
| parent | 16e49a14b2af1421cbaeefb9ce8ee863e45fd71b (diff) | |
watchdog: designware: make reset really optional
Checking for DM_RESET is not enough since not all watchdog
implementations use a reset lane. Such is the case for Rockchip
implementation for example. Since reset_assert_bulk will only succeed if
the resets property exists in the watchdog DT node, it needs to be
called only if a reset property is present.
This adds a condition on the resets property presence in the watchdog DT
node before assuming a reset lane needs to be fetched with
reset_assert_bulk, by calling ofnode_read_prop.
Cc: Quentin Schulz <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
