ec: superio: Report keyboard IRQ as wake capable
In order to wake from S0ix the kernel needs to know that the keyboard interrupt is wake capable. Using IRQNoFlags does not allow the wake capability to be reported. For normal S3 this does not matter as the EC is the one handling the keyboard wake event. For S0ix the EC does not need to be involved in this particular wake event. BUG=chrome-os-partner:43079 BRANCH=none TEST=echo freeze > /sys/power/state and wake from keyboard Change-Id: I7175d2ea98f8a671765897de295df7b933151fc4 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 645f1cd96c35f42aa7c40ff473b15feb619b0373 Original-Change-Id: Ia89c30c51be9db7b814b81261463d938885325fd Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/301441 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11712 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
34ce438e6f
commit
f611fcfaca
|
@ -155,7 +155,7 @@ Device (SIO) {
|
||||||
#ifdef SIO_EC_PS2K_IRQ
|
#ifdef SIO_EC_PS2K_IRQ
|
||||||
SIO_EC_PS2K_IRQ
|
SIO_EC_PS2K_IRQ
|
||||||
#else
|
#else
|
||||||
IRQNoFlags () {1}
|
IRQ (Edge, ActiveHigh, ExclusiveAndWake) {1}
|
||||||
#endif
|
#endif
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -167,7 +167,7 @@ Device (SIO) {
|
||||||
#ifdef SIO_EC_PS2K_IRQ
|
#ifdef SIO_EC_PS2K_IRQ
|
||||||
SIO_EC_PS2K_IRQ
|
SIO_EC_PS2K_IRQ
|
||||||
#else
|
#else
|
||||||
IRQNoFlags () {1}
|
IRQ (Edge, ActiveHigh, ExclusiveAndWake) {1}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
EndDependentFn ()
|
EndDependentFn ()
|
||||||
|
|
Loading…
Reference in New Issue