]> www.infradead.org Git - users/dwmw2/linux.git/commit
watchdog: rzg2l_wdt: Check return status of pm_runtime_put()
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Fri, 31 May 2024 06:57:18 +0000 (09:57 +0300)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Wed, 10 Jul 2024 18:01:32 +0000 (20:01 +0200)
commit471e45a33302852bf79bc140fe418782f50734f6
tree1b1ce05fd7fb6908180d876f521010d5de6c48c8
parentf0ba0fcdd19943809b1a7f760f77f6673c6aa7f7
watchdog: rzg2l_wdt: Check return status of pm_runtime_put()

pm_runtime_put() may return an error code. Check its return status.

Along with it the rzg2l_wdt_set_timeout() function was updated to
propagate the result of rzg2l_wdt_stop() to its caller.

Fixes: 2cbc5cd0b55f ("watchdog: Add Watchdog Timer driver for RZ/G2L")
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240531065723.1085423-5-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/rzg2l_wdt.c