summaryrefslogtreecommitdiff
path: root/drivers/mfd/cs47l90-tables.c
diff options
context:
space:
mode:
authorAjit Pandey <ajit.pandey@cirrus.com>2019-04-03 10:59:17 +0100
committerLee Jones <lee.jones@linaro.org>2019-05-14 08:13:26 +0100
commit178bc6b87ac45bc10c29855379b24eb0bdcd1d64 (patch)
tree5f5bb094d4531d39d06e45fb9df21c43ff72f74e /drivers/mfd/cs47l90-tables.c
parent801f0da9b7358b3e4f2e405210ce82351d9a36ea (diff)
mfd: cs47l90: Make DAC_AEC_CONTROL_2 readable
There is a second AEC loopback on cs47l90 so the registers for it should be readable. Signed-off-by: Ajit Pandey <ajit.pandey@cirrus.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/cs47l90-tables.c')
-rw-r--r--drivers/mfd/cs47l90-tables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/cs47l90-tables.c b/drivers/mfd/cs47l90-tables.c
index 77207d98f0cc..c040d3d7232a 100644
--- a/drivers/mfd/cs47l90-tables.c
+++ b/drivers/mfd/cs47l90-tables.c
@@ -263,6 +263,7 @@ static const struct reg_default cs47l90_reg_default[] = {
{ 0x00000440, 0x003f }, /* R1088 (0x440) - DRE Enable */
{ 0x00000448, 0x003f }, /* R1096 (0x448) - eDRE Enable */
{ 0x00000450, 0x0000 }, /* R1104 (0x450) - DAC AEC Control 1 */
+ { 0x00000451, 0x0000 }, /* R1104 (0x450) - DAC AEC Control 2 */
{ 0x00000458, 0x0000 }, /* R1112 (0x458) - Noise Gate Control */
{ 0x00000490, 0x0069 }, /* R1168 (0x490) - PDM SPK1 CTRL 1 */
{ 0x00000491, 0x0000 }, /* R1169 (0x491) - PDM SPK1 CTRL 2 */
@@ -1692,6 +1693,7 @@ static bool cs47l90_16bit_readable_register(struct device *dev,
case MADERA_DRE_ENABLE:
case MADERA_EDRE_ENABLE:
case MADERA_DAC_AEC_CONTROL_1:
+ case MADERA_DAC_AEC_CONTROL_2:
case MADERA_NOISE_GATE_CONTROL:
case MADERA_PDM_SPK1_CTRL_1:
case MADERA_PDM_SPK1_CTRL_2: