summaryrefslogtreecommitdiff
path: root/drivers/mfd/wm8994-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-28 14:48:49 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-29 14:37:07 +0400
commita0cc0209abb9fe2b9ab71aa41be70eddd0cbdd61 (patch)
tree10b2d95042370638c88f54522e6e52b2531aa5c9 /drivers/mfd/wm8994-core.c
parent2b40e9d97d196f98ef356003d400d5675174b4fc (diff)
downloadlinux-a0cc0209abb9fe2b9ab71aa41be70eddd0cbdd61.tar.xz
mfd: Improve performance of later WM1811 revisions
Apply tunings from earlier silicon revisions to revisions up to D and also tweak an additional setting for improved DC servo performance. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/mfd/wm8994-core.c')
-rw-r--r--drivers/mfd/wm8994-core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c
index 4b36f021413f..4b8b78c39767 100644
--- a/drivers/mfd/wm8994-core.c
+++ b/drivers/mfd/wm8994-core.c
@@ -361,6 +361,7 @@ static const __devinitdata struct reg_default wm8958_reva_patch[] = {
static const __devinitdata struct reg_default wm1811_reva_patch[] = {
{ 0x102, 0x3 },
+ { 0x56, 0x7 },
{ 0x5d, 0x7e },
{ 0x5e, 0x0 },
{ 0x102, 0x0 },
@@ -524,6 +525,8 @@ static __devinit int wm8994_device_init(struct wm8994 *wm8994, int irq)
switch (wm8994->revision) {
case 0:
case 1:
+ case 2:
+ case 3:
regmap_patch = wm1811_reva_patch;
patch_regs = ARRAY_SIZE(wm1811_reva_patch);
break;