summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-24 19:01:39 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-22 12:05:22 +0100
commitbd7c72ed18d719c1fb0fdf6ff9042d8ab78fdf71 (patch)
treec7094e12f0e9220b54749214212190d9824595ce /drivers/mfd
parentwatchdog: Fix null pointer dereference while accessing rdc321x platform_data (diff)
downloadlinux-bd7c72ed18d719c1fb0fdf6ff9042d8ab78fdf71.tar.xz
linux-bd7c72ed18d719c1fb0fdf6ff9042d8ab78fdf71.zip
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')
-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: