summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-05-10 08:43:56 -0500
committerAaron Durbin <adurbin@chromium.org>2016-05-10 22:15:38 +0200
commit838125b3cdc56e45101eb987c93ee617fb6e8565 (patch)
treee0d0f7aad345ce4f2518c4175858f0e10ceea7e3 /src
parenta486af46b2a5d49b05bfc89a876b5c800eadbe69 (diff)
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 <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14755 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/apollolake/lpc.c2
1 files changed, 1 insertions, 1 deletions
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);
}