From a35f1b78417edab1150f1eb68b5d4dee7708dfc8 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 2 Dec 2013 08:03:54 -0800 Subject: [PATCH] samus: Don't bring up wlan_power first in S3->S0 transition Due to the way wireless_enable works this was resulting in WLAN_OFF_L going low briefly on S0->S3->S0 transitions. BUG=chrome-os-partner:23752 BRANCH=none TEST=emerge-samus chromeos-coreboot-samus Change-Id: I4bb02b6e9acf97d501af8c40c455c9f88ffe35ee Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/178422 Reviewed-by: Randall Spangler --- board/samus/power_sequence.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/board/samus/power_sequence.c b/board/samus/power_sequence.c index 1f354f5910..f0ec10a5d0 100644 --- a/board/samus/power_sequence.c +++ b/board/samus/power_sequence.c @@ -271,9 +271,7 @@ enum x86_state x86_handle_state(enum x86_state state) /* Wait 20ms before allowing VCCST_PGOOD to rise. */ msleep(20); - /* Enable wireless, WLAN power first */ - wireless_enable(EC_WIRELESS_SWITCH_WLAN_POWER); - msleep(1); + /* Enable wireless. */ wireless_enable(EC_WIRELESS_SWITCH_ALL); /*