mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
asoc: codecs: bolero: do not perform soft reset
In event handler for soft reset, do not perform soft resetting of the compander as this is not the recommended sequence. Compander config needs to be done only in interpolator enable function. Change-Id: I9bb1d493860adc924252827594219618f16309b0 Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
This commit is contained in:
parent
1543085859
commit
35955cb60f
1 changed files with 2 additions and 4 deletions
|
|
@ -1350,10 +1350,8 @@ static int rx_macro_event_handler(struct snd_soc_component *component,
|
|||
goto done;
|
||||
reg = BOLERO_CDC_RX_COMPANDER0_CTL0 +
|
||||
(rx_idx * RX_MACRO_COMP_OFFSET);
|
||||
snd_soc_component_update_bits(component, reg,
|
||||
0x20, 0x20);
|
||||
snd_soc_component_update_bits(component, reg,
|
||||
0x20, 0x00);
|
||||
snd_soc_component_write(component, reg,
|
||||
snd_soc_component_read32(component, reg));
|
||||
break;
|
||||
case BOLERO_MACRO_EVT_IMPED_TRUE:
|
||||
rx_macro_wcd_clsh_imped_config(component, data, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue