mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 04:26:42 +07:00
ASoC: max98390: Update regmap readable reg and volatile
Update max98390_readable_register and max98390_volatile_reg Signed-off-by: Steve Lee <steves.lee@maximintegrated.com> Link: https://lore.kernel.org/r/20200611094800.18422-1-steves.lee@maximintegrated.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
44ce45f866
commit
4008b29eb4
@ -700,8 +700,8 @@ static bool max98390_readable_register(struct device *dev, unsigned int reg)
|
||||
case MAX98390_IRQ_CTRL ... MAX98390_WDOG_CTRL:
|
||||
case MAX98390_MEAS_ADC_THERM_WARN_THRESH
|
||||
... MAX98390_BROWNOUT_INFINITE_HOLD:
|
||||
case MAX98390_BROWNOUT_LVL_HOLD ... THERMAL_COILTEMP_RD_BACK_BYTE0:
|
||||
case DSMIG_DEBUZZER_THRESHOLD ... MAX98390_R24FF_REV_ID:
|
||||
case MAX98390_BROWNOUT_LVL_HOLD ... DSMIG_DEBUZZER_THRESHOLD:
|
||||
case DSM_VOL_ENA ... MAX98390_R24FF_REV_ID:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
@ -717,7 +717,7 @@ static bool max98390_volatile_reg(struct device *dev, unsigned int reg)
|
||||
case MAX98390_BROWNOUT_LOWEST_STATUS:
|
||||
case MAX98390_ENV_TRACK_BOOST_VOUT_READ:
|
||||
case DSM_STBASS_HPF_B0_BYTE0 ... DSM_DEBUZZER_ATTACK_TIME_BYTE2:
|
||||
case THERMAL_RDC_RD_BACK_BYTE1 ... THERMAL_COILTEMP_RD_BACK_BYTE0:
|
||||
case THERMAL_RDC_RD_BACK_BYTE1 ... DSMIG_DEBUZZER_THRESHOLD:
|
||||
case DSM_THERMAL_GAIN ... DSM_WBDRC_GAIN:
|
||||
return true;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user