Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

video/macfb: Always initialize DAFB colour table pointer register

Don't skip the framebuffer CLUT pointer register initialization when
the first dafb_setpalette() invocation has regno equal to zero.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

authored by

Finn Thain and committed by
Bartlomiej Zolnierkiewicz
36884ceb f8230166

+1 -1
+1 -1
drivers/video/fbdev/macfb.c
··· 148 148 unsigned int green, unsigned int blue, 149 149 struct fb_info *info) 150 150 { 151 - static int lastreg = -1; 151 + static int lastreg = -2; 152 152 unsigned long flags; 153 153 154 154 local_irq_save(flags);