From: Cosmin Tanislav Date: Wed, 27 May 2026 14:56:06 +0000 (+0300) Subject: mfd: rz-mtu3: Make reset optional X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6b692d1f466ba3837ae9478e0d5ce6ef77697b4;p=thirdparty%2Fkernel%2Flinux.git mfd: rz-mtu3: Make reset optional The Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs do not have a reset line for the MTU3 block. Prepare for them by making it optional. Signed-off-by: Cosmin Tanislav Link: https://patch.msgid.link/20260527145606.136536-5-cosmin-gabriel.tanislav.xa@renesas.com Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/rz-mtu3.c b/drivers/mfd/rz-mtu3.c index f64c748d6ce4f..3fa7dfe71386e 100644 --- a/drivers/mfd/rz-mtu3.c +++ b/drivers/mfd/rz-mtu3.c @@ -331,7 +331,7 @@ static int rz_mtu3_probe(struct platform_device *pdev) if (IS_ERR(priv->mmio)) return PTR_ERR(priv->mmio); - rstc = devm_reset_control_get_exclusive_deasserted(dev, NULL); + rstc = devm_reset_control_get_optional_exclusive_deasserted(dev, NULL); if (IS_ERR(rstc)) return PTR_ERR(rstc);