summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2015-06-10 14:34:29 +0800
committerMark Brown <broonie@kernel.org>2015-06-10 18:30:44 +0100
commit1fcb76dbd16f3cf4c121e6141ae27446fd732267 (patch)
tree82dac48dd5adc38a3801f764dbaebdb51e6988ac /sound/soc
parent22f5d9f8217656fc30a038d1ebb5a68f03b57a65 (diff)
downloadop-kernel-dev-1fcb76dbd16f3cf4c121e6141ae27446fd732267.zip
op-kernel-dev-1fcb76dbd16f3cf4c121e6141ae27446fd732267.tar.gz
ASoC: rt5645: make RT5650_TDM_CTRL_4 readable
Register RT5650_TDM_CTRL_4(0x7A) is readable and used for mixer setting. It should be added in rt5645_readable_register function. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/rt5645.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index abedf35..1e207cc 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -349,6 +349,7 @@ static bool rt5645_readable_register(struct device *dev, unsigned int reg)
case RT5645_TDM_CTRL_1:
case RT5645_TDM_CTRL_2:
case RT5645_TDM_CTRL_3:
+ case RT5650_TDM_CTRL_4:
case RT5645_GLB_CLK:
case RT5645_PLL_CTRL1:
case RT5645_PLL_CTRL2:
OpenPOWER on IntegriCloud