Hi Ji Sheng, [...] > +static int __maybe_unused cdns_i2c_resume(struct device *dev) > +{ > + struct cdns_i2c *xi2c = dev_get_drvdata(dev); > + int err; > + > + err = cdns_i2c_runtime_resume(dev); > + if (err) > + return err; > + > + if (pm_runtime_status_suspended(dev)) { > + cdns_i2c_runtime_suspend(dev); > + if (err) > + return err; have you forgotten to assign 'err'? Andi > + }