From f0d258568af32f2a815311e3ad3c6d253c67cd6e Mon Sep 17 00:00:00 2001 From: gonzo Date: Sat, 25 Jul 2015 03:19:02 +0000 Subject: [PATCH] Fix color mapping for TDA19988. Values for VIP_CNTRL_1 and VIP_CNTRL_2 registers were mixed up --- sys/arm/ti/am335x/tda19988.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arm/ti/am335x/tda19988.c b/sys/arm/ti/am335x/tda19988.c index 83dcf4364893..18bc18b73068 100644 --- a/sys/arm/ti/am335x/tda19988.c +++ b/sys/arm/ti/am335x/tda19988.c @@ -715,8 +715,8 @@ tda19988_start(void *xdev) /* Default values for RGB 4:4:4 mapping */ tda19988_reg_write(sc, TDA_VIP_CNTRL_0, 0x23); - tda19988_reg_write(sc, TDA_VIP_CNTRL_1, 0x45); - tda19988_reg_write(sc, TDA_VIP_CNTRL_2, 0x01); + tda19988_reg_write(sc, TDA_VIP_CNTRL_1, 0x01); + tda19988_reg_write(sc, TDA_VIP_CNTRL_2, 0x45); done: config_intrhook_disestablish(&sc->enum_hook);