Skip to content

Add missing icc_disable in exit path

Andi Shyti linux-i2c stable 1 version Applied

Status from this message: merged to i2c/i2c-host.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resumedrivers/i2c/busses/i2c-qcom-geni.c+3 -10 replies
2/2i2c: qcom-geni: Use goto for clearer exit pathdrivers/i2c/busses/i2c-qcom-geni.c+12 -91 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Add missing icc_disable in exit path

Hi,

Last week I committed the following patches from Gaosheng:

9ba48db9f77ce i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume b93d16bee5573 i2c: qcom-geni: Add missing clk_disable_unprepare in geni_i2c_runtime_resume

that wanted to add some cleanups in the geni_i2c_runtime_resume() exit path. However, one case was overlooked. While addressing this, I also replaced multiple return statements with a single goto exit to improve code clarity and consistency.

I decided to keep the patches separate because the first patch applies cleanly to the stable branch, whereas merging them into a single patch would have created complications for backporting.

Thanks,
Andi

Cc Bjorn Andersson <[email protected]>
Cc Gaosheng Cui <[email protected]>
Cc Konrad Dybcio <[email protected]>
Cc Vladimir Zapolskiy <[email protected]>

Andi Shyti (2):
i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
i2c: qcom-geni: Use goto for clearer exit path

 drivers/i2c/busses/i2c-qcom-geni.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
Signature · 1 line
2.45.2