ASoC: audio: fix audio drops issue in HPH for loud clips
For louder clips with max volume, observe audio drops. This is seen due to COMP1_B4_CTL setting is not updated correctly. As per 8952 power grid, buck voltage is 1.8v and compander register setting is varied based on this. Update the setting to 1.8v and also ensure the compander register bit is reset in power down sequence so that non-compander usecases like ANC are not affected due to this setting. CRs-Fixed: 890042 Change-Id: Ib2bd74877d559c7f473b1c7a8a64054fb1f476bc Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
parent
9b4feaaedb
commit
cba48d6f98
|
@ -175,7 +175,7 @@
|
|||
qcom,cdc-micbias1-ext-cap;
|
||||
|
||||
cdc-vdd-buck-supply = <&eldo2_8952>;
|
||||
qcom,cdc-vdd-buck-voltage = <2150000 2150000>;
|
||||
qcom,cdc-vdd-buck-voltage = <1800000 2150000>;
|
||||
qcom,cdc-vdd-buck-current = <650000>;
|
||||
|
||||
cdc-vdd-tx-h-supply = <&pm8950_l5>;
|
||||
|
|
|
@ -1230,6 +1230,10 @@ static int tomtom_config_compander(struct snd_soc_dapm_widget *w,
|
|||
|
||||
/* Set gain source to register */
|
||||
tomtom_config_gain_compander(codec, comp, false);
|
||||
if (comp == COMPANDER_1)
|
||||
snd_soc_update_bits(codec,
|
||||
TOMTOM_A_CDC_COMP0_B4_CTL + (comp * 8),
|
||||
0x80, 0x00);
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue