Hi, * Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> [230406 08:23]: > --- a/drivers/i2c/busses/i2c-omap.c > +++ b/drivers/i2c/busses/i2c-omap.c > @@ -1525,14 +1525,17 @@ static int omap_i2c_remove(struct platform_device *pdev) > int ret; > > i2c_del_adapter(&omap->adapter); > - ret = pm_runtime_resume_and_get(&pdev->dev); > + > + ret = pm_runtime_get_sync(&pdev->dev); It's better to use pm_runtime_resume_and_get() nowadays in general as it does pm_runtime_put_noidle() on errors. Not sure if there are changes needed here, maybe warn and return early if needed? Regards, Tony