diff options
author | GUO Zihua <guozihua@huawei.com> | 2022-11-22 16:50:46 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-12-15 23:34:31 +0100 |
commit | 55d5a86618d3b1a768bce01882b74cbbd2651975 (patch) | |
tree | e4b439b8a9dfeacd74007ca766c334588e8ef46e /include/linux/compiler_attributes.h | |
parent | 3bb23f1f9d5a66e23f643b2318a64d88f2585c8e (diff) |
rtc: mxc_v2: Add missing clk_disable_unprepare()
The call to clk_disable_unprepare() is left out in the error handling of
devm_rtc_allocate_device. Add it back.
Fixes: 5490a1e018a4 ("rtc: mxc_v2: fix possible race condition")
Signed-off-by: GUO Zihua <guozihua@huawei.com>
Link: https://lore.kernel.org/r/20221122085046.21689-1-guozihua@huawei.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions