diff options
author | Tom Rini <trini@konsulko.com> | 2024-01-30 07:54:28 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-30 07:54:28 -0500 |
commit | 28760ce8640ff6266bd1c1c568a4a231576f3919 (patch) | |
tree | 291fa96c3ed6d8e22d0fe6df906007cd650f555d /drivers/i2c/stm32f7_i2c.c | |
parent | 6faba41927bdc8973b59678649ef83c564cc421e (diff) | |
parent | a8dc4965f09d28a59c156437673ddb66860c847e (diff) |
Merge tag 'clk-2024.04-rc2' of https://source.denx.de/u-boot/custodians/u-boot-clk
Clock changes for v2024.04
This pull has the usual fixes and new (clock-adjacent) drivers. It also has some
cleanups for the clock API; in particular removing the unused rfree callback.
CI: https://source.denx.de/u-boot/custodians/u-boot-clk/-/pipelines/19486
Diffstat (limited to 'drivers/i2c/stm32f7_i2c.c')
-rw-r--r-- | drivers/i2c/stm32f7_i2c.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index eaa1d692898..f42e08a6418 100644 --- a/drivers/i2c/stm32f7_i2c.c +++ b/drivers/i2c/stm32f7_i2c.c @@ -890,7 +890,7 @@ static int stm32_i2c_probe(struct udevice *dev) ret = clk_enable(&i2c_priv->clk); if (ret) - goto clk_free; + return ret; ret = reset_get_by_index(dev, 0, &reset_ctl); if (ret) @@ -904,8 +904,6 @@ static int stm32_i2c_probe(struct udevice *dev) clk_disable: clk_disable(&i2c_priv->clk); -clk_free: - clk_free(&i2c_priv->clk); return ret; } |