瀏覽代碼

Merge "asoc: lpass-cdc: Update path_gain common for RX/WSA"

qctecmdr 4 年之前
父節點
當前提交
a09be5f422
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      asoc/codecs/lpass-cdc/lpass-cdc-comp.c

+ 1 - 1
asoc/codecs/lpass-cdc/lpass-cdc-comp.c

@@ -103,7 +103,7 @@ int lpass_cdc_update_compander_setting(struct snd_soc_component *component,
 				start_addr + 0x20,
 				max_attn);
 
-	path_gain = upper_gain_int;
+	path_gain = zone6_rms - abs(lower_gain_int);
 	snd_soc_component_write(component,
 				start_addr + 0x24,
 				path_gain);