ASoC: rt5645: make RT5650_TDM_CTRL_4 readable
authorOder Chiou <oder_chiou@realtek.com>
Wed, 10 Jun 2015 06:34:29 +0000 (14:34 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 10 Jun 2015 17:30:44 +0000 (18:30 +0100)
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>
sound/soc/codecs/rt5645.c

index abedf35..1e207cc 100644 (file)
@@ -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: