asoc: codecs: Fix WSA884X init and playback reg writes
Fix isense/vsense gain tables to correct values. Mark ana_wo_ctl registers as volatile. Move VBAT_THRM_FLT_CTL to init reg sequence. Change-Id: Ie04f302719f08b35f1ef9807dff7993c31e3aa43 Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

szülő
a0a83d7e42
commit
f21b04af12
@@ -523,6 +523,9 @@ static bool wsa884x_volatile_register(struct device *dev, unsigned int reg)
|
||||
if (reg <= WSA884X_BASE)
|
||||
return 0;
|
||||
|
||||
if (reg == WSA884X_ANA_WO_CTL_0 || reg == WSA884X_ANA_WO_CTL_1)
|
||||
return 1;
|
||||
|
||||
return ((wsa884x_reg_access[WSA884X_REG(reg)] & RD_REG) &&
|
||||
!(wsa884x_reg_access[WSA884X_REG(reg)] & WR_REG));
|
||||
}
|
||||
|
Reference in New Issue
Block a user