Re: [PATCH] i2c: qup: Propagate clock enable failures

From: Andi Shyti

Date: Tue Jul 28 2026 - 17:55:22 EST


Hi Pengpeng,

On Wed, Jun 24, 2026 at 01:52:37PM +0800, Pengpeng Hou wrote:
> 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@xxxxxxxxxxx>

merged to i2c/i2c.

Thanks,
Andi