summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm831x-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-24 18:01:39 +0000
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-22 12:05:22 +0100
commitbd7c72ed18d719c1fb0fdf6ff9042d8ab78fdf71 (patch)
treec7094e12f0e9220b54749214212190d9824595ce /drivers/mfd/wm831x-core.c
parent3b3c1f24e96c411a95daabb6af9e09c5381f713b (diff)
downloadlinux-bd7c72ed18d719c1fb0fdf6ff9042d8ab78fdf71.tar.bz2
mfd: Supply IRQ base for WM832x devices
Without this the IRQ base will not be correctly configured for the subdevices. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/wm831x-core.c')
-rw-r--r--drivers/mfd/wm831x-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/wm831x-core.c b/drivers/mfd/wm831x-core.c
index 7d2563fc15c6..e1a2f4b78529 100644
--- a/drivers/mfd/wm831x-core.c
+++ b/drivers/mfd/wm831x-core.c
@@ -1620,7 +1620,7 @@ int wm831x_device_init(struct wm831x *wm831x, unsigned long id, int irq)
case WM8325:
ret = mfd_add_devices(wm831x->dev, -1,
wm8320_devs, ARRAY_SIZE(wm8320_devs),
- NULL, 0);
+ NULL, wm831x->irq_base);
break;
default: