commit | f2eef045de9defbc6fc6b72b17f0941cbe26c81d | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Nov 18 00:15:58 2017 +0300 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Wed Nov 29 22:11:13 2017 +0100 |
tree | b4281bfd081a6aede1d53e3267ae796f75bf2b66 | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 [diff] |
rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe() brcmstb_waketmr_probe() does not disable timer->clk on error paths. Found by Linux Driver Verification project (linuxtesting.org). Fixes: c4f07ecee22e ("rtc: brcmstb-waketimer: Add Broadcom STB wake-timer") Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>