diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2017-11-17 22:15:58 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-11-29 22:11:13 +0100 |
commit | f2eef045de9defbc6fc6b72b17f0941cbe26c81d (patch) | |
tree | b4281bfd081a6aede1d53e3267ae796f75bf2b66 /drivers/rtc/rtc-ac100.c | |
parent | Linux 4.15-rc1 (diff) | |
download | linux-f2eef045de9defbc6fc6b72b17f0941cbe26c81d.tar.xz linux-f2eef045de9defbc6fc6b72b17f0941cbe26c81d.zip |
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>
Diffstat (limited to 'drivers/rtc/rtc-ac100.c')
0 files changed, 0 insertions, 0 deletions