[PATCH 6/8] i2c: nomadik: handle pm_runtime errors

Wolfram Sang wsa+renesas at sang-engineering.com
Sun Nov 8 23:03:09 PST 2026


> -	pm_runtime_get_sync(&priv->adev->dev);
> +	i = pm_runtime_get_sync(&priv->adev->dev);
> +	if (i)
> +		return i;

Testbots revealed a smatch warning:

drivers/i2c/busses/i2c-nomadik.c:737 nmk_i2c_xfer() warn: pm_runtime_get_sync() also returns 1 on success

I will fix it here.




More information about the linux-arm-kernel mailing list