diff options
| author | Christophe JAILLET <[email protected]> | 2024-01-05 14:39:35 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2024-03-08 09:10:26 +0000 |
| commit | 97fd62e3269d2d47cefd421ffe144f9eafab8315 (patch) | |
| tree | cb7e90d1d1fce614129ba98009391b89515cb8d0 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | i2c: i801: Avoid potential double call to gpiod_remove_lookup_table (diff) | |
| download | kernel-97fd62e3269d2d47cefd421ffe144f9eafab8315.tar.gz kernel-97fd62e3269d2d47cefd421ffe144f9eafab8315.zip | |
i2c: wmt: Fix an error handling path in wmt_i2c_probe()
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 <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
