Device package changes: - Replace ALSA configs with dependency (soc-sprd-audio-sc8830) - Add reboot-mode as dependency Kernel package changes: - Use dtbtool-sprd instead of dtbtool - Move code and device tree to external repo - Add patch for GCC10 - Add patches for framebuffer
15 lines
503 B
Diff
15 lines
503 B
Diff
Change color mode so charging-sdl works and RGB channels are not swapped
|
|
diff --git a/drivers/video/sprdfb/sprdfb_main.c b/drivers/video/sprdfb/sprdfb_main.c
|
|
index 3e6c70d..80fceb9 100644
|
|
--- a/drivers/video/sprdfb/sprdfb_main.c
|
|
+++ b/drivers/video/sprdfb/sprdfb_main.c
|
|
@@ -51,7 +51,7 @@ enum{
|
|
SPRD_IN_DATA_TYPE_LIMIT
|
|
};
|
|
|
|
-#define SPRDFB_IN_DATA_TYPE SPRD_IN_DATA_TYPE_ABGR888
|
|
+#define SPRDFB_IN_DATA_TYPE SPRD_IN_DATA_TYPE_BGR565
|
|
|
|
#ifdef CONFIG_FB_TRIPLE_FRAMEBUFFER
|
|
#define FRAMEBUFFER_NR (3)
|