commit | d66e53649c18377edc08d48901e658e4fd491d46 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Mar 24 00:36:46 2018 +0300 |
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | Mon Mar 26 20:47:56 2018 +0200 |
tree | 026005ef84b7f939c7256811a937b7c4ee54a317 | |
parent | 2e62c4988bbf2b514aa7672c2ee5252531c7155f [diff] |
watchdog: davinci_wdt: fix error handling in davinci_wdt_probe() clk_disable_unprepare() was added to one error path, but there is another one. The patch makes sure clk is disabled at the both of them. 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>