From 09b883f352f9029d87d2fd48a3918f894f8d0c8c Mon Sep 17 00:00:00 2001 From: Hannah Williams Date: Fri, 11 May 2018 19:14:38 -0700 Subject: mb/google/octopus: Disable BT before S5 entry The CNVi wifi/bt module prevents entry into S5 by keeping internal SoC clocks running. Therefore it's necessary to disable BT prior to S5 entry. BUG=b:79606769 TEST= Test if BT device works under following cases: 1. Power-on 2. Press powerbtn before OS entry 3. Power-on from S5 again Change-Id: Ibc14b4080a27de48d197e16d0eed162603482de2 Signed-off-by: Hannah Williams Reviewed-on: https://review.coreboot.org/26238 Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/mainboard/google/octopus/smihandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/octopus/smihandler.c') diff --git a/src/mainboard/google/octopus/smihandler.c b/src/mainboard/google/octopus/smihandler.c index d430c4d17f..ecd41ae300 100644 --- a/src/mainboard/google/octopus/smihandler.c +++ b/src/mainboard/google/octopus/smihandler.c @@ -34,7 +34,7 @@ void mainboard_smi_sleep(u8 slp_typ) const struct pad_config *pads; size_t num; - pads = variant_sleep_gpio_table(&num); + pads = variant_sleep_gpio_table(&num, slp_typ); gpio_configure_pads(pads, num); chromeec_smi_sleep(slp_typ, MAINBOARD_EC_S3_WAKE_EVENTS, -- cgit v1.2.3