Browse Source

asoc: codecs: Fix device switch pop issue

With AANC enabled, and when the device switches
from speaker path to handset path there is a audible
pop. Add more delay to the aanc enable work function
to resolve the pop issue.

CRs-Fixed: 2137607
Change-Id: Icaf381179b0a81440b21ab4280cb6fc95e6fe6ba
Signed-off-by: Karthikeyan Mani <[email protected]>
Karthikeyan Mani 7 years ago
parent
commit
82597ffeec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      asoc/codecs/wcd934x/wcd934x.c

+ 1 - 1
asoc/codecs/wcd934x/wcd934x.c

@@ -526,7 +526,7 @@ struct tx_mute_work {
 	struct delayed_work dwork;
 };
 
-#define WCD934X_SPK_ANC_EN_DELAY_MS 350
+#define WCD934X_SPK_ANC_EN_DELAY_MS 550
 static int spk_anc_en_delay = WCD934X_SPK_ANC_EN_DELAY_MS;
 module_param(spk_anc_en_delay, int, 0664);
 MODULE_PARM_DESC(spk_anc_en_delay, "delay to enable anc in speaker path");