diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2018-03-09 00:21:48 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2018-03-13 19:14:18 +0100 |
commit | 3c578cd4bc52b6e65d65be1abad9a8aa489ec207 (patch) | |
tree | a7f1ce2eb944527c5bb8962a977f2b46caed3ea8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | d2fc8db691bf3197d43b2afb553311a9bf257bff (diff) |
watchdog: sprd_wdt: Fix error handling in sprd_wdt_enable()
If clk_prepare_enable(wdt->rtc_enable) fails,
wdt->enable clock is left enabled.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions