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

Skip to content
Commit 7c759c4c authored by myfluxi's avatar myfluxi Committed by Dyneteve
Browse files

msm: sps: Register SPS IRQ with IRQF_NO_SUSPEND flag

This is a wakeup-enabled interrupt, so IRQF_NO_SUSPEND
should be used in order to avoid delays during system
suspend/resume and unbalanced IRQ enable.

<4>[31718.374223] ------------[ cut here ]------------
<4>[31718.374272] WARNING: at ../../../../../../kernel/oneplus/msm8974/kernel/irq/manage.c:428 resume_irqs+0x48/0xa4()
<4>[31718.374296] Unbalanced enable for IRQ 61
<4>[31718.374360] [<c010d240>] (unwind_backtrace+0x0/0x134) from [<c01a724c>] (warn_slowpath_common+0x50/0x60)
<4>[31718.374411] [<c01a724c>] (warn_slowpath_common+0x50/0x60) from [<c01a72b8>] (warn_slowpath_fmt+0x30/0x40)
<4>[31718.374460] [<c01a72b8>] (warn_slowpath_fmt+0x30/0x40) from [<c0212a34>] (resume_irqs+0x48/0xa4)
<4>[31718.374523] [<c0212a34>] (resume_irqs+0x48/0xa4) from [<c04825b8>] (dpm_resume_start+0xc/0x18)
<4>[31718.374577] [<c04825b8>] (dpm_resume_start+0xc/0x18) from [<c01ea3b8>] (suspend_enter+0x118/0x21c)
<4>[31718.374622] [<c01ea3b8>] (suspend_enter+0x118/0x21c) from [<c01ea5b4>] (suspend_devices_and_enter+0xf8/0x224)
<4>[31718.374666] [<c01ea5b4>] (suspend_devices_and_enter+0xf8/0x224) from [<c01ea8e4>] (pm_suspend+0x204/0x2b0)
<4>[31718.374708] [<c01ea8e4>] (pm_suspend+0x204/0x2b0) from [<c01e9a1c>] (state_store+0x5c/0x74)
<4>[31718.374751] [<c01e9a1c>] (state_store+0x5c/0x74) from [<c03aa514>] (kobj_attr_store+0x14/0x20)
<4>[31718.374807] [<c03aa514>] (kobj_attr_store+0x14/0x20) from [<c02d5b68>] (sysfs_write_file+0x160/0x190)
<4>[31718.374859] [<c02d5b68>] (sysfs_write_file+0x160/0x190) from [<c027ce84>] (vfs_write+0x9c/0x148)
<4>[31718.374903] [<c027ce84>] (vfs_write+0x9c/0x148) from [<c027cfe0>] (sys_write+0x38/0x78)
<4>[31718.374954] [<c027cfe0>] (sys_write+0x38/0x78) from [<c0106da4>] (__sys_trace_return+0x0/0x1c)
<4>[31718.374981] ---[ end trace b223570e3a51608e ]---

Referenced https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/?h=LA.BF.1.1.1.c3&id=66e0a4bf1d86782fc68291194086f3e0b198b2ee



Change-Id: Ibf31cd5d2f28aa52966b9b5e8bd4fafd9a48be93
Signed-off-by: default avatarmydongistiny <jaysonedson@gmail.com>
parent 6b6a106b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment