]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rtc: renesas-rtca3: Fix incorrect error message for reset assert
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 2 Jun 2026 19:25:57 +0000 (20:25 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 21 Jun 2026 23:59:16 +0000 (01:59 +0200)
Update the message to "assert reset" to accurately reflect the
operation being performed.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> # on RZ/G3S
Link: https://patch.msgid.link/20260602192559.1791344-4-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-renesas-rtca3.c

index af2a3878289e3ea29c14f46b334f651f4db426ef..8763745b9172f8e8c7d697c2056aa0abc2361e24 100644 (file)
@@ -702,7 +702,7 @@ static void rtca3_action(void *data)
 
        ret = reset_control_assert(priv->rstc);
        if (ret)
-               dev_err(dev, "Failed to de-assert reset!");
+               dev_err(dev, "Failed to assert reset!");
 
        ret = pm_runtime_put_sync(dev);
        if (ret < 0)