mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-05 13:24:23 +08:00
staging: fsl-mc: dprc: add missing irq free
add missing free of the Linux irq when tearing down interrupts Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f93627146f
commit
ae34934f9c
@ -760,7 +760,12 @@ error_cleanup_msi_domain:
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user