asoc: lpass-cdc: Update compander setting for path_gain
In unified compander, update path_gain to use upper_gain_int value. Change-Id: Ibe616eb1cab223cc855e817c5ca09579af9ddfb9 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
#include "lpass-cdc-comp.h"
|
||||
|
||||
@@ -103,7 +103,7 @@ int lpass_cdc_update_compander_setting(struct snd_soc_component *component,
|
||||
start_addr + 0x20,
|
||||
max_attn);
|
||||
|
||||
path_gain = upper_gain_dig_int;
|
||||
path_gain = upper_gain_int;
|
||||
snd_soc_component_write(component,
|
||||
start_addr + 0x24,
|
||||
path_gain);
|
||||
|
Reference in New Issue
Block a user