mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
1 parent
a3bd9f3dd5
commit
f6b692d1f4
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user