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:
parent
b538a69936
commit
a3f1a2e2bf
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue