mfd: Supply IRQ base for WM832x devices
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 24 Nov 2010 18:01:39 +0000 (18:01 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:44 +0000 (13:58 -0800)
commit bd7c72ed18d719c1fb0fdf6ff9042d8ab78fdf71 upstream.

Without this the IRQ base will not be correctly configured for the
subdevices.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mfd/wm831x-core.c

index f70723d72960e683bd47d27897c5b6b79d92eec9..b5347167aa720470f52f5eadf51611c946b4118c 100644 (file)
@@ -1621,7 +1621,7 @@ static int wm831x_device_init(struct wm831x *wm831x, unsigned long id, int irq)
        case WM8321:
                ret = mfd_add_devices(wm831x->dev, -1,
                                      wm8320_devs, ARRAY_SIZE(wm8320_devs),
-                                     NULL, 0);
+                                     NULL, wm831x->irq_base);
                break;
 
        default: