summaryrefslogtreecommitdiff
path: root/src/ec/quanta/it8518/ec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/quanta/it8518/ec.c')
-rw-r--r--src/ec/quanta/it8518/ec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/quanta/it8518/ec.c b/src/ec/quanta/it8518/ec.c
index 09a6c045ca..af0849c600 100644
--- a/src/ec/quanta/it8518/ec.c
+++ b/src/ec/quanta/it8518/ec.c
@@ -29,7 +29,7 @@
static int input_buffer_empty(u16 status_reg)
{
u32 timeout;
- for(timeout = KBC_TIMEOUT_IN_MS; timeout && (inb(status_reg) & KBD_IBF);
+ for (timeout = KBC_TIMEOUT_IN_MS; timeout && (inb(status_reg) & KBD_IBF);
timeout--) {
udelay(1000);
}
@@ -45,7 +45,7 @@ static int input_buffer_empty(u16 status_reg)
static int output_buffer_full(u16 status_reg)
{
u32 timeout;
- for(timeout = KBC_TIMEOUT_IN_MS; timeout && ((inb(status_reg)
+ for (timeout = KBC_TIMEOUT_IN_MS; timeout && ((inb(status_reg)
& KBD_OBF) == 0); timeout--) {
udelay(1000);
}