[PATCH v2 2/3] i2c: k1: add reset support

Andi Shyti andi.shyti at kernel.org
Thu Dec 25 13:01:36 PST 2025


Hi Encrow,

...

> +	rst = devm_reset_control_get_optional_exclusive_deasserted(dev, NULL);
> +	if (IS_ERR(rst))
> +		return dev_err_probe(dev, PTR_ERR(rst),
> +				     "failed to acquire deasserted reset\n");

If this is optional, why are we returning with error?

Thanks,
Andi



More information about the linux-riscv mailing list