summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-12-02 08:03:54 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-12-02 22:03:58 +0000
commita35f1b78417edab1150f1eb68b5d4dee7708dfc8 (patch)
tree7716305c12ccac12aa6154bbec8f58241d0f9fd8
parent40a1e7fa75b9fd51cf62ee8d725a5b35d846dbd5 (diff)
downloadchrome-ec-a35f1b78417edab1150f1eb68b5d4dee7708dfc8.tar.gz
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 <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/178422 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--board/samus/power_sequence.c4
1 files changed, 1 insertions, 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);
/*