Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8de8a24 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

power: smb5: Make TYPEC_ATTACH_DETACH_IRQ wakeup capable



Commit d92bfe55f8cc4dc1 ("power: smb5: update IRQ configuration") adds
wakeup capabilities to several IRQs. Extend this to include
TYPEC_ATTACH_DETACH_IRQ as well. And while we're at it, associate
TYPEC_ATTACH_DETACH_IRQ with the right IRQ handler routine.

CRs-Fixed: 2221052
Change-Id: I846e0bae574d2934b4498f1d2a55970347e181e4
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent 42401335
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1883,6 +1883,8 @@ static struct smb_irq_info smb5_irqs[] = {
	},
	[TYPEC_ATTACH_DETACH_IRQ] = {
		.name		= "typec-attach-detach",
		.handler	= typec_attach_detach_irq_handler,
		.wake		= true,
	},
	[TYPEC_LEGACY_CABLE_DETECT_IRQ] = {
		.name		= "typec-legacy-cable-detect",