Searched hist:"3 c829f47e33eb0398a9a14e357a05199a7be0277" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/watchdog/ |
H A D | asm9260_wdt.c | diff 3c829f47e33eb0398a9a14e357a05199a7be0277 Sat Feb 10 11:17:27 CET 2018 Alexey Khoroshilov <khoroshilov@ispras.ru> watchdog: asm9260_wdt: fix error handling in asm9260_wdt_probe()
If devm_reset_control_get_exclusive() fails, asm9260_wdt_probe() returns immediately. But clks has been already enabled at that point, so it is required to disable them or to move the code around.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
|