From 2f09c8ac514f3197e33aa6c121562ac36ff1910c Mon Sep 17 00:00:00 2001 From: Charles Keepax Date: Mon, 11 Dec 2017 14:18:41 +0000 Subject: [PATCH] irqchip: madera: Avoid double free of primary IRQ The primary IRQ was requested from within regmap_irq and regmap_irq will also free it, so the free here in remove is a duplicate. Change-Id: I149062db0eb8f3b26af24a9b5c144a4b273c72b3 Signed-off-by: Charles Keepax --- drivers/irqchip/irq-madera.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/irq-madera.c b/drivers/irqchip/irq-madera.c index 40a348730762..7ae128fedc98 100644 --- a/drivers/irqchip/irq-madera.c +++ b/drivers/irqchip/irq-madera.c @@ -299,7 +299,6 @@ static int madera_irq_remove(struct platform_device *pdev) priv->madera->irq_dev = NULL; regmap_del_irq_chip(priv->irq, priv->irq_data); - free_irq(priv->irq, priv); return 0; } -- 2.20.1