]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/rcar-du: dsi: Fix missing parameter in RXSETR_...EN macros
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 28 Oct 2025 23:28:11 +0000 (00:28 +0100)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Wed, 29 Oct 2025 09:32:10 +0000 (11:32 +0200)
The RXSETR_CRCEN(n) and RXSETR_ECCEN(n) macros both take parameter (n),
add the missing macro parameter. Neither of those macros is used by the
driver, so for now the bug is harmless.

Fixes: 685e8dae19df ("drm/rcar-du: dsi: Implement DSI command support")
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reported-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://patch.msgid.link/20251028232959.109936-2-marek.vasut+renesas@mailbox.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi_regs.h

index 76521276e2af8eb8d3d494af4b05d811fb737fc9..dd871e17dcf535fbba50a9272457159a1b7364d9 100644 (file)
@@ -50,8 +50,8 @@
 #define TXCMPPD3R                      0x16c
 
 #define RXSETR                         0x200
-#define RXSETR_CRCEN                   (((n) & 0xf) << 24)
-#define RXSETR_ECCEN                   (((n) & 0xf) << 16)
+#define RXSETR_CRCEN(n)                        (((n) & 0xf) << 24)
+#define RXSETR_ECCEN(n)                        (((n) & 0xf) << 16)
 #define RXPSETR                                0x210
 #define RXPSETR_LPPDACC                        (1 << 0)
 #define RXPSR                          0x220