Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 5 Nov 2017 19:43:20 +0000 (11:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 5 Nov 2017 19:43:20 +0000 (11:43 -0800)
Pull irq fix from Ingo Molnar:
 "An irqchip driver init fix"

* 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  irqchip/irq-mvebu-gicp: Add missing spin_lock init

drivers/irqchip/irq-mvebu-gicp.c

index b283fc90be1e2505066867d269bdecfe7a1113e4..17a4a7b6cdbb989e1cf9a3b165dc6392e0b7eaf8 100644 (file)
@@ -194,6 +194,7 @@ static int mvebu_gicp_probe(struct platform_device *pdev)
                return -ENOMEM;
 
        gicp->dev = &pdev->dev;
+       spin_lock_init(&gicp->spi_lock);
 
        gicp->res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        if (!gicp->res)