From patchwork Mon Apr 29 07:31:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 240330 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 535B52C00BB for ; Mon, 29 Apr 2013 17:31:30 +1000 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UWiYa-0005q7-Kq; Mon, 29 Apr 2013 07:31:28 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UWiYZ-0005q2-Iw for fwts-devel@lists.ubuntu.com; Mon, 29 Apr 2013 07:31:27 +0000 Received: from [175.41.48.77] (helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1UWiYY-0002jf-VL; Mon, 29 Apr 2013 07:31:27 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH 1/2] acpi: s3: increase delays to match user scanerio and to reduce false non-firmware-related failures. Date: Mon, 29 Apr 2013 15:31:15 +0800 Message-Id: <1367220676-940-2-git-send-email-alex.hung@canonical.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1367220676-940-1-git-send-email-alex.hung@canonical.com> References: <1367220676-940-1-git-send-email-alex.hung@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: fwts-devel-bounces@lists.ubuntu.com Signed-off-by: Alex Hung --- src/acpi/s3/s3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/acpi/s3/s3.c b/src/acpi/s3/s3.c index ae89423..f544f03 100644 --- a/src/acpi/s3/s3.c +++ b/src/acpi/s3/s3.c @@ -32,10 +32,10 @@ #define PM_SUSPEND "pm-suspend" static int s3_multiple = 1; /* number of s3 multiple tests to run */ -static int s3_min_delay = 0; /* min time between resume and next suspend */ -static int s3_max_delay = 30; /* max time between resume and next suspend */ +static int s3_min_delay = 60; /* min time between resume and next suspend */ +static int s3_max_delay = 90; /* max time between resume and next suspend */ static float s3_delay_delta = 0.5; /* amount to add to delay between each S3 tests */ -static int s3_sleep_delay = 30; /* time between start of suspend and wakeup */ +static int s3_sleep_delay = 60; /* time between start of suspend and wakeup */ static bool s3_device_check = false; /* check for device config changes */ static char *s3_quirks = NULL; /* Quirks to be passed to pm-suspend */ static int s3_device_check_delay = 15; /* Time to sleep after waking up and then running device check */