From f319ae40d702b3012429d09a05633eadd18ea4c2 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Tue, 19 Aug 2014 00:48:39 +0200 Subject: lenovo/x201: Unpower USB on undocking Change-Id: I9b496e8ff92ee575d0b780eab0cb45ea05506d30 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/6708 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Paul Menzel --- src/mainboard/lenovo/x201/acpi/dock.asl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard/lenovo/x201/acpi') diff --git a/src/mainboard/lenovo/x201/acpi/dock.asl b/src/mainboard/lenovo/x201/acpi/dock.asl index 33303d6a4c..75bdda4bb6 100644 --- a/src/mainboard/lenovo/x201/acpi/dock.asl +++ b/src/mainboard/lenovo/x201/acpi/dock.asl @@ -33,11 +33,13 @@ Scope (\_SB) { if (Arg0) { /* connect dock */ + Store (1, \GP28) Store (1, \_SB.PCI0.LPCB.EC.DKR1) Store (1, \_SB.PCI0.LPCB.EC.DKR2) Store (1, \_SB.PCI0.LPCB.EC.DKR3) } else { /* disconnect dock */ + Store (0, \GP28) Store (0, \_SB.PCI0.LPCB.EC.DKR1) Store (0, \_SB.PCI0.LPCB.EC.DKR2) Store (0, \_SB.PCI0.LPCB.EC.DKR3) -- cgit v1.2.3