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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <andersson@xxxxxxxxxx>
Cc: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx>
Cc: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
Cc: Vladimir Zapolskiy <vladimir.zapolskiy@xxxxxxxxxx>

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(-)

-- 
2.45.2





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux