diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-08-25 20:57:08 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-31 20:24:20 +0200 |
commit | 2b010b8795de84b6753c5e49d6a73c25fee96da1 (patch) | |
tree | 55efcad396e656d06e44619352d71d919ee5fb04 /src/ec/compal | |
parent | 195c26810d103e69adc629fa72b6eec33f2dd901 (diff) | |
download | coreboot-2b010b8795de84b6753c5e49d6a73c25fee96da1.tar.xz |
src/ec: Add required space before opening parenthesis '('
Change-Id: I013f71b702644ab337c3d76be1489530bad6e6cc
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16322
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/ec/compal')
-rw-r--r-- | src/ec/compal/ene932/ec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/compal/ene932/ec.c b/src/ec/compal/ene932/ec.c index c21672e580..4b69e75972 100644 --- a/src/ec/compal/ene932/ec.c +++ b/src/ec/compal/ene932/ec.c @@ -30,7 +30,7 @@ static int kbc_input_buffer_empty(void) { u32 timeout; - for(timeout = KBC_TIMEOUT_IN_MS; timeout && (inb(KBD_STATUS) & KBD_IBF); + for (timeout = KBC_TIMEOUT_IN_MS; timeout && (inb(KBD_STATUS) & KBD_IBF); timeout--) { mdelay(1); } @@ -46,7 +46,7 @@ static int kbc_input_buffer_empty(void) static int kbc_output_buffer_full(void) { u32 timeout; - for(timeout = KBC_TIMEOUT_IN_MS; timeout && ((inb(KBD_STATUS) + for (timeout = KBC_TIMEOUT_IN_MS; timeout && ((inb(KBD_STATUS) & KBD_OBF) == 0); timeout--) { mdelay(1); } @@ -60,7 +60,7 @@ static int kbc_output_buffer_full(void) int kbc_cleanup_buffers(void) { u32 timeout; - for(timeout = KBC_TIMEOUT_IN_MS; timeout && (inb(KBD_STATUS) + for (timeout = KBC_TIMEOUT_IN_MS; timeout && (inb(KBD_STATUS) & (KBD_OBF | KBD_IBF)); timeout--) { mdelay(1); inb(KBD_DATA); |