From 838125b3cdc56e45101eb987c93ee617fb6e8565 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 10 May 2016 08:43:56 -0500 Subject: [PATCH] soc/intel/apollolake: remove errant semicolon Remove a semicolon which shouldn't be there. Change-Id: I38f785fa13ea9fee91813f165a085ff54e1b75fb Found-by: Coverity Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/14755 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Furquan Shaikh Reviewed-by: Patrick Georgi --- src/soc/intel/apollolake/lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/apollolake/lpc.c b/src/soc/intel/apollolake/lpc.c index ce9f00173f..48dfb1fe3d 100644 --- a/src/soc/intel/apollolake/lpc.c +++ b/src/soc/intel/apollolake/lpc.c @@ -58,7 +58,7 @@ static void lpc_init(struct device *dev) scnt &= ~(SCNT_EN | SCNT_MODE); if (cfg->serirq_mode == SERIRQ_QUIET) scnt |= SCNT_EN; - else if (cfg->serirq_mode == SERIRQ_CONTINUOUS); + else if (cfg->serirq_mode == SERIRQ_CONTINUOUS) scnt |= SCNT_EN | SCNT_MODE; pci_write_config8(dev, REG_SERIRQ_CTL, scnt); }