summaryrefslogtreecommitdiff
path: root/common/chipset_x86_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/chipset_x86_common.c')
-rw-r--r--common/chipset_x86_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/chipset_x86_common.c b/common/chipset_x86_common.c
index 3b484d3276..f32db93aca 100644
--- a/common/chipset_x86_common.c
+++ b/common/chipset_x86_common.c
@@ -335,11 +335,11 @@ DECLARE_HOOK(HOOK_AC_CHANGE, x86_ac_change, HOOK_PRIO_DEFAULT);
void x86_interrupt(enum gpio_signal signal)
{
#ifdef BOARD_wolf
- /* Catch the PP5000 rail going down in S0 quicky as it is likely the
+ /* Catch the PP5000 rail going down unexpectedly as it is likely the
* PP3300_EC rail is going down with it. (http://crosbug.com/p/25833)
*/
if (signal == GPIO_PP5000_PGOOD && (gpio_get_level(signal) == 0) &&
- chipset_in_state(CHIPSET_STATE_ON)) {
+ (gpio_get_level(GPIO_PP5000_EN) == 1)) {
usb_port_all_ports_off();
CPRINTF("[%T Disabled USB ports and triggering shutdown]\n");
chipset_force_shutdown();