]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
serial: sh-sci: Fix a comment about SCIFA
authorThierry Bultel <thierry.bultel.yh@bp.renesas.com>
Thu, 3 Apr 2025 21:29:09 +0000 (23:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Apr 2025 14:56:22 +0000 (16:56 +0200)
The comment was correct when it was added, at that time RZ/T1 was
the only SoC in the RZ/T line. Since then, further SoCs have been
added with RZ/T names which do not use the same SCIFA register
layout and so the comment is now misleading.

So we update the comment to explicitly reference only RZ/T1 SoCs.

Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Thierry Bultel <thierry.bultel.yh@bp.renesas.com>
Link: https://lore.kernel.org/r/20250403212919.1137670-8-thierry.bultel.yh@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c

index 7e7813ccda4117c51fd5968f12b4531d758d7281..0f044ea3855a7362f0e7d57f33e7fbc37a6a26d1 100644 (file)
@@ -310,7 +310,7 @@ static const struct sci_port_params sci_port_params[SCIx_NR_REGTYPES] = {
        },
 
        /*
-        * The "SCIFA" that is in RZ/A2, RZ/G2L and RZ/T.
+        * The "SCIFA" that is in RZ/A2, RZ/G2L and RZ/T1.
         * It looks like a normal SCIF with FIFO data, but with a
         * compressed address space. Also, the break out of interrupts
         * are different: ERI/BRI, RXI, TXI, TEI, DRI.