Skip to content

platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle

Hans de Goede linux-acpi platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idledrivers/platform/x86/Kconfig drivers/platform/x86/intel_int0002_vgpio.c+57 -254 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchAndy ShevchenkoRafael J. Wysocki
1/1R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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