video/macfb: Always initialize DAFB colour table pointer register
authorFinn Thain <fthain@telegraphics.com.au>
Mon, 1 Apr 2019 15:46:55 +0000 (17:46 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 1 Apr 2019 15:46:55 +0000 (17:46 +0200)
commit36884ceb76661b09af62005c3b60b41670ae71aa
tree5427f43e7941db8e5e14b362d0e07477792c67e2
parentf82301661c6ca3414fb0f6c223f206be938b9495
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>
drivers/video/fbdev/macfb.c