mfd: Supply IRQ base for WM832x devices
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 24 Nov 2010 18:01:39 +0000 (18:01 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 22 Dec 2010 11:05:22 +0000 (12:05 +0100)
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>
drivers/mfd/wm831x-core.c

index 7d2563fc15c6096ba30a37f15eb4c95c3cfae68a..e1a2f4b785293227803a4ac133a9be87b9c78bef 100644 (file)
@@ -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: