summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/rockchip/rk3288/hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/rockchip/rk3288/hdmi.c b/src/soc/rockchip/rk3288/hdmi.c
index ac58fbf640..c9cc2320e2 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);
}
}