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

Commit 47dd5880 authored by Walter Yang's avatar Walter Yang
Browse files

ASoC: msm: increase PM resume timeout period to 300ms



PM takes more than 100ms to resume and then codec fails to acquire
pm_qos because of timeout.
Increase the WCD9XXX_SYSTEM_RESUME_TIMEOUT_MS to 300ms so that
the interrupt can be handled properly during suspend mode.

Change-Id: Ieaa2e6da678b9e4d6606d2354c195bda318524d0
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent 544bb112
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
#define MAX_NUM_IRQS 14
#define NUM_IRQ_REGS 2

#define WCD9XXX_SYSTEM_RESUME_TIMEOUT_MS 100
#define WCD9XXX_SYSTEM_RESUME_TIMEOUT_MS 300

#define BYTE_BIT_MASK(nr) (1UL << ((nr) % BITS_PER_BYTE))
#define BIT_BYTE(nr) ((nr) / BITS_PER_BYTE)