Skip to content

Commit 671d315

Browse files
Demon000dlezcano
authored andcommitted
thermal: renesas: rzg3e: make reset optional
The Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs do not have a reset line. Prepare for them by making it optional. Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: John Madieu <john.madieu.xa@bp.renesas.com> Tested-by: John Madieu <john.madieu.xa@bp.renesas.com> Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com> Link: https://patch.msgid.link/20260108195223.193531-2-cosmin-gabriel.tanislav.xa@renesas.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 96b0bb4 commit 671d315

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/thermal/renesas/rzg3e_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ static int rzg3e_thermal_probe(struct platform_device *pdev)
412412
"Clock rate %lu Hz too low (min %u Hz)\n",
413413
clk_get_rate(clk), TSU_MIN_CLOCK_RATE);
414414

415-
priv->rstc = devm_reset_control_get_exclusive_deasserted(dev, NULL);
415+
priv->rstc = devm_reset_control_get_optional_exclusive_deasserted(dev, NULL);
416416
if (IS_ERR(priv->rstc))
417417
return dev_err_probe(dev, PTR_ERR(priv->rstc),
418418
"Failed to get/deassert reset control\n");

0 commit comments

Comments
 (0)