OSDN Git Service

rtc: brcmstb-waketimer: add missed clk_disable_unprepare
authorChuhong Yuan <hslester96@gmail.com>
Tue, 5 Nov 2019 16:00:43 +0000 (00:00 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 8 Nov 2019 15:14:09 +0000 (16:14 +0100)
commit94303f8930ed78aea0f189b703c9d79fff9555d7
tree89f08616e19f8ff211e92b725b842253e6c20a9c
parent0e8431379e3c451067a49080c5ef619a0c633a8d
rtc: brcmstb-waketimer: add missed clk_disable_unprepare

This driver forgets to disable and unprepare clock when remove.
Add a call to clk_disable_unprepare to fix it.

Fixes: c4f07ecee22e ("rtc: brcmstb-waketimer: Add Broadcom STB wake-timer")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20191105160043.20018-1-hslester96@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-brcmstb-waketimer.c