[coreboot-gerrit] New patch to review for coreboot: rk3288: Fix & vs && mix up in hdmi driver

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Thu Jul 9 00:00:12 CEST 2015


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10859

-gerrit

commit 044a7e138d20526e68ea824d0d46f6c888cf6260
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Wed Jul 8 23:31:46 2015 +0200

    rk3288: Fix & vs && mix up in hdmi driver
    
    Change-Id: I54650671adaef3bc129c662d6e972474c869afaa
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 src/soc/rockchip/rk3288/hdmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/soc/rockchip/rk3288/hdmi.c b/src/soc/rockchip/rk3288/hdmi.c
index ac58fbf..c9cc232 100644
--- a/src/soc/rockchip/rk3288/hdmi.c
+++ b/src/soc/rockchip/rk3288/hdmi.c
@@ -238,7 +238,7 @@ static void hdmi_update_csc_coeffs(void)
 		for (j = 0; j < ARRAY_SIZE(csc_coeff_default[0]); j++) {
 			u32 coeff = csc_coeff_default[i][j];
 			write32(&hdmi_regs->csc_coef[i][j].msb, coeff >> 8);
-			write32(&hdmi_regs->csc_coef[i][j].lsb, coeff && 0xff);
+			write32(&hdmi_regs->csc_coef[i][j].lsb, coeff & 0xff);
 		}
 	}
 



More information about the coreboot-gerrit mailing list