platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idledrivers/ drivers/ | +57 | 4 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko | Rafael J. Wysocki |
|---|---|---|
| 1/1 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/1] platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle
Hi All,
This is a rewrite of a patch which I wrote a while ago:
https://www.spinics.net/lists/kernel/msg3474327.html
The old version got nacked because it was changing behavior based on whether s2idle or s3 suspend was used at probe-time, while this can be changed at run-time.
This new version instead delays calling enable_irq_wake() until the drivers' suspend call-back is called, at which point we know for sure which type of suspend is being used (for this suspend/resume cycle), thus addressing the problem with the old version.
Regards,
Hans
Hans de Goede (1):
platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when
using s2idle
drivers/platform/x86/Kconfig | 2 +- drivers/platform/x86/intel_int0002_vgpio.c | 80 +++++++++++++++------- 2 files changed, 57 insertions(+), 25 deletions(-)
Signature · 1 line
2.31.1