Re: [PATCH v3 06/10] i2c: core: disable runtime PM on adapter registration failure

From: Wolfram Sang

Date: Wed Jun 03 2026 - 09:19:27 EST


On Mon, May 11, 2026 at 04:37:11PM +0200, Johan Hovold wrote:
> Runtime PM is disabled by driver core when deregistering a device (and
> on registration failure) but add an explicit disable to balance the
> enable call when adapter registration fails for symmetry.
>
> Fixes: 23a698fe65ec ("i2c: core: treat EPROBE_DEFER when acquiring SCL/SDA GPIOs")
> Cc: Codrin Ciubotariu <codrin.ciubotariu@xxxxxxxxxxxxx>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>

Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

Yes, we do the same when removing, too.