summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2015-06-10 08:34:29 +0200
committerMark Brown <broonie@kernel.org>2015-06-10 19:30:44 +0200
commit1fcb76dbd16f3cf4c121e6141ae27446fd732267 (patch)
tree82dac48dd5adc38a3801f764dbaebdb51e6988ac /sound
parentASoC: rt5645: Lock mutex in rt5645_enable_push_button_irq (diff)
downloadlinux-1fcb76dbd16f3cf4c121e6141ae27446fd732267.tar.xz
linux-1fcb76dbd16f3cf4c121e6141ae27446fd732267.zip
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')
-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 abedf35f37b8..1e207cceeb4a 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: