From 126be656930c3f0b5938bae8512d704409fa03d9 Mon Sep 17 00:00:00 2001 From: Vatsal Bucha Date: Wed, 11 Sep 2019 11:32:55 +0530 Subject: [PATCH] ASoC: bolero: Fix audio mute during first 4-5 seconds in headset record Audio mute is observed if record is started as soon as headset is inserted. This is because hold time after button release is set as 800ms causing the delay. Change hold time to 200ms to fix this issue. Change-Id: I98028fca3412a3d47ad8e5154f25ff1726426955 Signed-off-by: Vatsal Bucha --- asoc/codecs/bolero/tx-macro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asoc/codecs/bolero/tx-macro.c b/asoc/codecs/bolero/tx-macro.c index 45afd304dc81..0451ddd4a1b4 100644 --- a/asoc/codecs/bolero/tx-macro.c +++ b/asoc/codecs/bolero/tx-macro.c @@ -2020,7 +2020,7 @@ undefined_rate: } static const struct tx_macro_reg_mask_val tx_macro_reg_init[] = { - {BOLERO_CDC_TX0_TX_PATH_SEC7, 0x3F, 0x0E}, + {BOLERO_CDC_TX0_TX_PATH_SEC7, 0x3F, 0x02}, }; static int tx_macro_init(struct snd_soc_component *component)