pmaports/device/testing/linux-samsung-zerofltexx/01-fix-red-blue.patch
Stefan cd7fa9fb1b
samsung-zerofltexx: Adapt recent changes from zeroltexx for zerofltexx (MR 2304)
- Use common firmware package for Samsung zero devices also for zerofltexx
- Fix Wifi firmware paths
- Fix display colors (in sxmo; weston seemed OK before)
- Fix "alignment fault" error on ALSA sound output by compiler flag.

[ci:skip-build] already built successfully in CI
2021-07-08 21:13:14 -07:00

16 lines
417 B
Diff

--- a/drivers/video/exynos/decon/decon-int_drv.c
+++ b/drivers/video/exynos/decon/decon-int_drv.c
@@ -600,11 +600,11 @@
case 24:
/* our 24bpp is unpacked, so 32bpp */
var->bits_per_pixel = 32;
- var->red.offset = 16;
+ var->red.offset = 0;
var->red.length = 8;
var->green.offset = 8;
var->green.length = 8;
- var->blue.offset = 0;
+ var->blue.offset = 16;
var->blue.length = 8;
break;