diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-24 13:52:37 +0800 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-07-28 23:39:07 +0200 |
| commit | a477626332800942f463d76aa48db0c47f1dfd18 (patch) | |
| tree | 848cbf355e4610feeecab3171c2b0caa17e7e6dd /tools/perf/scripts/python/bin | |
| parent | 1275cbed80a740e4d56b6aff2745de9fce4818fa (diff) | |
i2c: qup: Propagate clock enable failures
The QUP I2C driver treats the core and iface clocks as required
resources, but qup_i2c_enable_clocks() ignores clk_prepare_enable()
failures. Probe can then continue to register the I2C adapter, and
runtime/system resume can return success, even when a required clock
transition failed.
Make the helper return an error, unwind a partially enabled clock, and
propagate failures from probe and resume paths.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260624055237.29977-1-pengpeng@iscas.ac.cn
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
