summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/rk3288
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-07-08 23:31:46 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-07-09 00:31:14 +0200
commita3f1a2e2bf4f749b9eb7cb5108ce76b7c1c2247b (patch)
treea3d5ea526200bd7e02da82cf4ff8a64af8288572 /src/soc/rockchip/rk3288
parentb538a69936fa6467a59f92ff965a97f814567035 (diff)
downloadcoreboot-a3f1a2e2bf4f749b9eb7cb5108ce76b7c1c2247b.tar.xz
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)
Diffstat (limited to 'src/soc/rockchip/rk3288')
-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);
}
}