Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae34934f authored by Stuart Yoder's avatar Stuart Yoder Committed by Greg Kroah-Hartman
Browse files

staging: fsl-mc: dprc: add missing irq free



add missing free of the Linux irq when tearing down interrupts

Signed-off-by: default avatarStuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f9362714
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -760,7 +760,12 @@ static int dprc_probe(struct fsl_mc_device *mc_dev)
 */
static void dprc_teardown_irq(struct fsl_mc_device *mc_dev)
{
	struct fsl_mc_device_irq *irq = mc_dev->irqs[0];

	(void)disable_dprc_irq(mc_dev);

	devm_free_irq(&mc_dev->dev, irq->msi_desc->irq, &mc_dev->dev);

	fsl_mc_free_irqs(mc_dev);
}