diff --git a/src/kernel/linux/v4.4/drivers/leds/led-class-avsux.c b/src/kernel/linux/v4.4/drivers/leds/led-class-avsux.c index 3f82cd249..11b23ac42 100755 --- a/src/kernel/linux/v4.4/drivers/leds/led-class-avsux.c +++ b/src/kernel/linux/v4.4/drivers/leds/led-class-avsux.c @@ -27,9 +27,10 @@ int avsux_timer_flag = 0; static void avsux_parse_rgb(const u32 rgb, struct led_rgb_colors *colors) { - colors->red = (rgb >> 16) & 0xff; + colors->red = rgb & 0xff; /*exchange r&b data of the patten,by eric 20220623 */ colors->green = (rgb >> 8) & 0xff; - colors->blue = rgb & 0xff; + colors->blue = (rgb >> 16) & 0xff;/*exchange r&b data of the patten,by eric 20220623 */ + } static u32 avsux_dump_rgb(struct led_rgb_colors *colors) diff --git a/src/kernel/linux/v4.4/drivers/misc/mediatek/feier/Makefile b/src/kernel/linux/v4.4/drivers/misc/mediatek/feier/Makefile index 92e5cbda3..8da071e22 100755 --- a/src/kernel/linux/v4.4/drivers/misc/mediatek/feier/Makefile +++ b/src/kernel/linux/v4.4/drivers/misc/mediatek/feier/Makefile @@ -17,7 +17,7 @@ #obj-y += cht8305.o #obj-y += cw2015_fuel_gauge_V5.0.o #obj-y += cw2015.o -obj-y += leds-aw20036.o +#obj-y += leds-aw20036.o obj-y += feier_gpioint.o #obj-y += spi-st7789v.o