https://github.com/torvalds/linux
Revision 97fd62e3269d2d47cefd421ffe144f9eafab8315 authored by Christophe JAILLET on 05 January 2024, 14:39:35 UTC, committed by Wolfram Sang on 08 March 2024, 09:10:26 UTC
wmt_i2c_reset_hardware() calls clk_prepare_enable(). So, should an error
occur after it, it should be undone by a corresponding
clk_disable_unprepare() call, as already done in the remove function.

Fixes: 560746eb79d3 ("i2c: vt8500: Add support for I2C bus on Wondermedia SoCs")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent ceb013b
History
Tip revision: 97fd62e3269d2d47cefd421ffe144f9eafab8315 authored by Christophe JAILLET on 05 January 2024, 14:39:35 UTC
i2c: wmt: Fix an error handling path in wmt_i2c_probe()
Tip revision: 97fd62e
File Mode Size
alloc
bindings
kernel
macros
uapi
.gitignore -rw-r--r-- 202 bytes
Makefile -rw-r--r-- 19.7 KB
bindgen_parameters -rw-r--r-- 900 bytes
build_error.rs -rw-r--r-- 1.3 KB
compiler_builtins.rs -rw-r--r-- 2.0 KB
exports.c -rw-r--r-- 862 bytes
helpers.c -rw-r--r-- 5.0 KB

back to top