* [PATCH] fbdev: grvga: Fix CLUT register address offset in comment
@ 2026-06-01 19:46 Eduardo Silva
0 siblings, 0 replies; only message in thread
From: Eduardo Silva @ 2026-06-01 19:46 UTC (permalink / raw)
To: deller; +Cc: linux-fbdev, Eduardo Silva
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>
---
drivers/video/fbdev/grvga.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/grvga.c b/drivers/video/fbdev/grvga.c
index de8ab817d406..a6594bcd74e8 100644
--- a/drivers/video/fbdev/grvga.c
+++ b/drivers/video/fbdev/grvga.c
@@ -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 {
--
2.54.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-01 19:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-01 19:46 [PATCH] fbdev: grvga: Fix CLUT register address offset in comment Eduardo Silva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox