]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fbdev: grvga: Fix CLUT register address offset in comment
authorEduardo Silva <eduardo4silva@gmail.com>
Mon, 1 Jun 2026 19:46:44 +0000 (21:46 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 9 Jun 2026 14:00:10 +0000 (16:00 +0200)
The comment does not match the actual address offset. According
to the GRLIB IP Library Reference Manual (p. 2119), the CLUT register
is at offset 0x28, not the value stated in the comment.

Signed-off-by: Eduardo Silva <eduardo4silva@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/grvga.c

index de8ab817d406568c93248c63ecce3ced694b41dd..a6594bcd74e8278e64be30949b8f2f0601112d06 100644 (file)
@@ -33,7 +33,7 @@ struct grvga_regs {
        u32 line_length;        /* 0x10 */
        u32 fb_pos;             /* 0x14 */
        u32 clk_vector[4];      /* 0x18 */
-       u32 clut;               /* 0x20 */
+       u32 clut;               /* 0x28 */
 };
 
 struct grvga_par {