diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2022-11-23 09:48:05 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-12-10 22:36:32 +0100 |
commit | 5fb733d7bd6949e90028efdce8bd528c6ab7cf1e (patch) | |
tree | da3476a8f8da1d6b2074388e72353687158be529 /drivers/rtc/rtc-msc313.c | |
parent | a6ceee26fd5ed9b5bd37322b1ca88e4548cee4a3 (diff) |
rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe()
The clk_disable_unprepare() should be called in the error handling
of clk_get_rate(), fix it.
Fixes: b5b2bdfc2893 ("rtc: st: Add new driver for ST's LPC RTC")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Link: https://lore.kernel.org/r/20221123014805.1993052-1-cuigaosheng1@huawei.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-msc313.c')
0 files changed, 0 insertions, 0 deletions