From f096382e06d40cf2cf848ff9c62240fbb46a9976 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Thu, 25 Jun 2020 23:53:54 -0400 Subject: [PATCH] mtkfb: Default to RGB order The fine folks at Mediatek even left us an ifdef to use! --- drivers/misc/mediatek/video/mt6785/videox/mtkfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mediatek/video/mt6785/videox/mtkfb.c b/drivers/misc/mediatek/video/mt6785/videox/mtkfb.c index c02904908128..ea1a32736d46 100644 --- a/drivers/misc/mediatek/video/mt6785/videox/mtkfb.c +++ b/drivers/misc/mediatek/video/mt6785/videox/mtkfb.c @@ -2105,7 +2105,7 @@ static int mtkfb_fbinfo_init(struct fb_info *info) var.transp.offset = 24; var.red.length = 8; -#if 0 +#if 1 var.red.offset = 16; var.red.length = 8; var.green.offset = 8; -- 2.25.3