Browse Source

ASoC: codecs: sdm660_cdc: Fix kernel panic on sdm660-internal

Kernel panic is observed during SSR. This is because
ADSP does not get sufficient time to bring up LPASS after SSR.
An increase in ADSP Ready timeout resolves the issue.

CRs-Fixed: 2101404
Change-Id: Ia7d1ecde7a713b4d71b2a4ebb1f85a38b8fa28b5
Signed-off-by: Vatsal Bucha <[email protected]>
Vatsal Bucha 7 years ago
parent
commit
3249ff278d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      asoc/codecs/sdm660_cdc/msm-analog-cdc.c

+ 2 - 2
asoc/codecs/sdm660_cdc/msm-analog-cdc.c

@@ -49,10 +49,10 @@
 #define BUS_DOWN 1
 
 /*
- * 50 Milliseconds sufficient for DSP bring up in the lpass
+ * 200 Milliseconds sufficient for DSP bring up in the lpass
  * after Sub System Restart
  */
-#define ADSP_STATE_READY_TIMEOUT_MS 50
+#define ADSP_STATE_READY_TIMEOUT_MS 200
 
 #define EAR_PMD 0
 #define EAR_PMU 1