From 70df516a6000107dd914bb0d9cffebfba41659e6 Mon Sep 17 00:00:00 2001 From: Karthikeyan Mani Date: Tue, 14 May 2019 17:33:40 -0700 Subject: [PATCH] asoc: codecs: bolero: Add adc1 condition to tx hold callback TX hold callback returns without making a callback to external codec if the ADC with number one is called. Add the condition for the missing ADC to make the callback for ADC1. Change-Id: Iec480b40cfbe199fbe06151abd99d9ad6aaf9c9d Signed-off-by: Karthikeyan Mani --- asoc/codecs/bolero/bolero-cdc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asoc/codecs/bolero/bolero-cdc.c b/asoc/codecs/bolero/bolero-cdc.c index 45e993684db1..e67dc7924ff7 100644 --- a/asoc/codecs/bolero/bolero-cdc.c +++ b/asoc/codecs/bolero/bolero-cdc.c @@ -287,6 +287,8 @@ void bolero_clear_amic_tx_hold(struct device *dev, u16 adc_n) event = BOLERO_WCD_EVT_TX_CH_HOLD_CLEAR; if (adc_n == BOLERO_ADC0) amic = 0x1; + else if (adc_n == BOLERO_ADC1) + amic = 0x2; else if (adc_n == BOLERO_ADC2) amic = 0x2; else if (adc_n == BOLERO_ADC3)