diff options
Diffstat (limited to 'kernel/drivers/vfio/platform/vfio_platform_irq.c')
-rw-r--r-- | kernel/drivers/vfio/platform/vfio_platform_irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/vfio/platform/vfio_platform_irq.c b/kernel/drivers/vfio/platform/vfio_platform_irq.c index 88bba57b3..46d4750f4 100644 --- a/kernel/drivers/vfio/platform/vfio_platform_irq.c +++ b/kernel/drivers/vfio/platform/vfio_platform_irq.c @@ -185,6 +185,7 @@ static int vfio_set_trigger(struct vfio_platform_device *vdev, int index, int ret; if (irq->trigger) { + irq_clear_status_flags(irq->hwirq, IRQ_NOAUTOEN); free_irq(irq->hwirq, irq); kfree(irq->name); eventfd_ctx_put(irq->trigger); |