kirby: Check the right GPIO when checking for a "bad wake".
Pit used GPIO X06, and while that's connected in the schematic on kirby as well, it's with an unstuffed resistor. The line is actually connected to GPIO Y00. BUG=None TEST=Built and booted on kirby with corresponding kernel device tree changes. Suspended and resumed using the lid switch on servo and saw that the firmware resumed instead of rebooting. BRANCH=None Change-Id: Iaa7497899cb4514ba94b1e414377799a0ce30e51 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/168521 Reviewed-by: ron minnich <rminnich@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
747c728538
commit
c3d2007728
1 changed files with 1 additions and 1 deletions
|
|
@ -24,6 +24,6 @@ int wakeup_need_reset(void)
|
|||
{
|
||||
/* The "wake up" event is not reliable (known as "bad wakeup") and needs
|
||||
* reset if the TPM reset mask GPIO value is high. */
|
||||
return gpio_get_value(GPIO_X06);
|
||||
return gpio_get_value(GPIO_Y00);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue