diff options
Diffstat (limited to 'chip/mec1322/port80.c')
-rw-r--r-- | chip/mec1322/port80.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chip/mec1322/port80.c b/chip/mec1322/port80.c index e2f02c81e5..cbc87d8a88 100644 --- a/chip/mec1322/port80.c +++ b/chip/mec1322/port80.c @@ -1,4 +1,4 @@ -/* Copyright 2015 The Chromium OS Authors. All rights reserved. +/* Copyright 2015 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -17,9 +17,8 @@ #define POLL_PERIOD_USEC 1000 /* After 30 seconds of no port 80 data, disable the timer interrupt. */ #define INTERRUPT_DISABLE_TIMEOUT_SEC 30 -#define INTERRUPT_DISABLE_IDLE_COUNT (INTERRUPT_DISABLE_TIMEOUT_SEC \ - * 1000000 \ - / POLL_PERIOD_USEC) +#define INTERRUPT_DISABLE_IDLE_COUNT \ + (INTERRUPT_DISABLE_TIMEOUT_SEC * 1000000 / POLL_PERIOD_USEC) /* Count the number of consecutive interrupts with no port 80 data. */ static int idle_count; |