summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8350-core.c
diff options
context:
space:
mode:
authorMark Brown2009-03-12 22:31:36 +0100
committerLinus Torvalds2009-03-13 00:20:24 +0100
commit02d46e07e538c285accb5c000a7db3a97eff1fbf (patch)
treeeb5792dc5aad2ab9e365d7e5921e23a9691f92e9 /drivers/mfd/wm8350-core.c
parentacer-wmi: fix regression in backlight detection (diff)
downloadkernel-qcow2-linux-02d46e07e538c285accb5c000a7db3a97eff1fbf.tar.gz
kernel-qcow2-linux-02d46e07e538c285accb5c000a7db3a97eff1fbf.tar.xz
kernel-qcow2-linux-02d46e07e538c285accb5c000a7db3a97eff1fbf.zip
mfd: add support for WM8351 revision B
No software visible difference from revision A. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Samuel Ortiz <sameo@openedhand.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mfd/wm8350-core.c')
-rw-r--r--drivers/mfd/wm8350-core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c
index 84d5ea1ec171..b457a05b28d9 100644
--- a/drivers/mfd/wm8350-core.c
+++ b/drivers/mfd/wm8350-core.c
@@ -1383,6 +1383,11 @@ int wm8350_device_init(struct wm8350 *wm8350, int irq,
wm8350->power.rev_g_coeff = 1;
break;
+ case 1:
+ dev_info(wm8350->dev, "WM8351 Rev B\n");
+ wm8350->power.rev_g_coeff = 1;
+ break;
+
default:
dev_err(wm8350->dev, "Unknown WM8351 CHIP_REV\n");
ret = -ENODEV;