rk3288: Fix & vs && mix up in hdmi driver

Change-Id: I54650671adaef3bc129c662d6e972474c869afaa
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/10859
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
Stefan Reinauer 2015-07-08 23:31:46 +02:00
parent b538a69936
commit a3f1a2e2bf
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ static void hdmi_update_csc_coeffs(void)
for (j = 0; j < ARRAY_SIZE(csc_coeff_default[0]); j++) { for (j = 0; j < ARRAY_SIZE(csc_coeff_default[0]); j++) {
u32 coeff = csc_coeff_default[i][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].msb, coeff >> 8);
write32(&hdmi_regs->csc_coef[i][j].lsb, coeff && 0xff); write32(&hdmi_regs->csc_coef[i][j].lsb, coeff & 0xff);
} }
} }