From patchwork Mon Apr 29 07:31:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/2] acpi: s3: increase delays to match user scanerio and to reduce false non-firmware-related failures. X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 240330 Message-Id: <1367220676-940-2-git-send-email-alex.hung@canonical.com> To: fwts-devel@lists.ubuntu.com Date: Mon, 29 Apr 2013 15:31:15 +0800 From: Alex Hung List-Id: Firmware Test Suite Development 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 */