Patchwork [2/2] acpi: s4: increase delays to match user scanerio and to reduce false non-firmware-related failures.

login
register
mail settings
Submitter Alex Hung
Date April 29, 2013, 7:31 a.m.
Message ID <1367220676-940-3-git-send-email-alex.hung@canonical.com>
Download mbox | patch
Permalink /patch/240331/
State Rejected
Headers show

Comments

Alex Hung - April 29, 2013, 7:31 a.m.
Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/acpi/s4/s4.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/src/acpi/s4/s4.c b/src/acpi/s4/s4.c
index 59ffcaf..5fcd2f4 100644
--- a/src/acpi/s4/s4.c
+++ b/src/acpi/s4/s4.c
@@ -31,8 +31,8 @@ 
 #define FWTS_TRACING_BUFFER_SIZE	"/sys/kernel/debug/tracing/buffer_size_kb"
 
 static int  s4_multiple = 1;		/* number of S4 multiple tests to run */
-static int  s4_min_delay = 0;		/* min time between resume and next hibernate */
-static int  s4_max_delay = 30;		/* max time between resume and next hibernate */
+static int  s4_min_delay = 60;		/* min time between resume and next hibernate */
+static int  s4_max_delay = 90;		/* max time between resume and next hibernate */
 static float s4_delay_delta = 0.5;	/* amount to add to delay between each S4 tests */
 static int  s4_sleep_delay = 90;	/* delay between initiating S4 and wakeup */
 static bool s4_device_check = false;	/* check for device config changes */