summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRyan Lee <ryans.lee@maximintegrated.com>2018-08-07 20:06:38 -0700
committerMark Brown <broonie@kernel.org>2018-08-08 10:54:03 +0100
commit0717edbdfed61b4c1e8291140f78882d3a481042 (patch)
treecda309b203a27383a773d5100c01a6737cf7d1ef /sound
parentb1470d4ce77c2d60661c7d5325d4fb8063e15ff8 (diff)
downloadlinux-0717edbdfed61b4c1e8291140f78882d3a481042.tar.bz2
ASoC: max98373: Added software reset register to readable registers
Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/max98373.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index a92586106932..92b7125ea169 100644
--- a/sound/soc/codecs/max98373.c
+++ b/sound/soc/codecs/max98373.c
@@ -488,6 +488,7 @@ static const DECLARE_TLV_DB_RANGE(max98373_bde_gain_tlv,
static bool max98373_readable_register(struct device *dev, unsigned int reg)
{
switch (reg) {
+ case MAX98373_R2000_SW_RESET:
case MAX98373_R2001_INT_RAW1 ... MAX98373_R200C_INT_EN3:
case MAX98373_R2010_IRQ_CTRL:
case MAX98373_R2014_THERM_WARN_THRESH