aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2014-04-17 08:14:15 -0400
committerLee Jones <lee.jones@linaro.org>2014-06-03 03:11:14 -0400
commitfce7fbfcd1b836935d92512476a3b7d508a64b7b (patch)
treedbadacbed3cf224729753fc7984006bbad998bdd
parent3176a521922b8ebcf7a593063cc55344486d2cd7 (diff)
mfd: wm5110: Add missing isolation control register
The isolation control register is required when DCVDD is externally supplied add this in as a readable register. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/wm5110-tables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/wm5110-tables.c b/drivers/mfd/wm5110-tables.c
index 1942b6f231da..58bc2be6e6a5 100644
--- a/drivers/mfd/wm5110-tables.c
+++ b/drivers/mfd/wm5110-tables.c
@@ -549,6 +549,7 @@ static const struct reg_default wm5110_reg_default[] = {
549 { 0x000002A8, 0x1422 }, /* R680 - Mic Detect Level 3 */ 549 { 0x000002A8, 0x1422 }, /* R680 - Mic Detect Level 3 */
550 { 0x000002A9, 0x300A }, /* R681 - Mic Detect Level 4 */ 550 { 0x000002A9, 0x300A }, /* R681 - Mic Detect Level 4 */
551 { 0x000002C3, 0x0000 }, /* R707 - Mic noise mix control 1 */ 551 { 0x000002C3, 0x0000 }, /* R707 - Mic noise mix control 1 */
552 { 0x000002CB, 0x0000 }, /* R715 - Isolation control */
552 { 0x000002D3, 0x0000 }, /* R723 - Jack detect analogue */ 553 { 0x000002D3, 0x0000 }, /* R723 - Jack detect analogue */
553 { 0x00000300, 0x0000 }, /* R768 - Input Enables */ 554 { 0x00000300, 0x0000 }, /* R768 - Input Enables */
554 { 0x00000308, 0x0000 }, /* R776 - Input Rate */ 555 { 0x00000308, 0x0000 }, /* R776 - Input Rate */
@@ -1580,6 +1581,7 @@ static bool wm5110_readable_register(struct device *dev, unsigned int reg)
1580 case ARIZONA_MIC_DETECT_LEVEL_3: 1581 case ARIZONA_MIC_DETECT_LEVEL_3:
1581 case ARIZONA_MIC_DETECT_LEVEL_4: 1582 case ARIZONA_MIC_DETECT_LEVEL_4:
1582 case ARIZONA_MIC_NOISE_MIX_CONTROL_1: 1583 case ARIZONA_MIC_NOISE_MIX_CONTROL_1:
1584 case ARIZONA_ISOLATION_CONTROL:
1583 case ARIZONA_JACK_DETECT_ANALOGUE: 1585 case ARIZONA_JACK_DETECT_ANALOGUE:
1584 case ARIZONA_INPUT_ENABLES: 1586 case ARIZONA_INPUT_ENABLES:
1585 case ARIZONA_INPUT_ENABLES_STATUS: 1587 case ARIZONA_INPUT_ENABLES_STATUS: