mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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 <kmani@codeaurora.org>
This commit is contained in:
parent
586382a701
commit
70df516a60
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue