diff options
author | Claudiu Beznea <[email protected]> | 2024-05-31 09:57:17 +0300 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2024-07-10 20:01:32 +0200 |
commit | f0ba0fcdd19943809b1a7f760f77f6673c6aa7f7 (patch) | |
tree | 979b10dfe017501a5888fa3f114fbdabb6d9d581 /scripts/bpf_doc.py | |
parent | 9e69846c68f5489e9a3d7375215beb1842ef89e1 (diff) |
watchdog: rzg2l_wdt: Use pm_runtime_resume_and_get()
pm_runtime_get_sync() may return with error. In case it returns with error
dev->power.usage_count needs to be decremented. pm_runtime_resume_and_get()
takes care of this. Thus use it.
Along with it the rzg2l_wdt_set_timeout() function was updated to
propagate the result of rzg2l_wdt_start() to its caller.
Fixes: 2cbc5cd0b55f ("watchdog: Add Watchdog Timer driver for RZ/G2L")
Signed-off-by: Claudiu Beznea <[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/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions