]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
mfd: Supply IRQ base for WM832x devices
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 24 Nov 2010 18:01:39 +0000 (18:01 +0000)
committerAK <andi@firstfloor.org>
Sun, 6 Feb 2011 19:03:49 +0000 (11:03 -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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/mfd/wm831x-core.c

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