diff options
author | Biju Das <[email protected]> | 2022-02-25 17:53:18 +0000 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-05-08 10:34:03 +0200 |
commit | baf1aace9ad15401f08e048a7f1fdec79821bc61 (patch) | |
tree | dff4f982909256e2491c30f5dc50d2b13dd9287d /scripts/gdb/linux/mm.py | |
parent | 33d04d0fdba9fae18c7d58364643d2c606a43dba (diff) |
watchdog: rzg2l_wdt: Add error check for reset_control_deassert
If reset_control_deassert() fails, then we won't be able to
access the device registers. Therefore check the return code of
reset_control_deassert() and bailout in case of error.
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions