asoc: codecs: Fix lpass_cdc_wsa_macro_read_array

Update function to correctly read array from device tree.
Previously not reading values and returning -EINVAL.
WSA bat_cfg/rload/sys_gain are now correctly configured.
Also add softclip clock enable during pbr config.

Change-Id: Ia1b93acfde3e799b3b72e05966d0fa955c3f49ac
Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
This commit is contained in:
Matthew Rice
2022-02-15 22:54:15 -08:00
parent 110af4933f
commit 72f737377e
2 ha cambiato i file con 21 aggiunte e 10 eliminazioni

Vedi File

@@ -133,7 +133,7 @@ enum {
static const int pbr_vth1_data[G_MAX_DB][CONFIG_MAX][WSA_MAX_OHMS] = {
/* G_21_DB */
{
{0, 0, 0, 0}, {81, 92, 196, 0},
{0, 0, 0, 0}, {81, 92, 106, 0},
{121, 148, 144, 0}, {158, 193, 192, 0}
},
/* G_19P5_DB */