Commit f142573d authored by Xiubo Li's avatar Xiubo Li Committed by Greg Kroah-Hartman

Revert "uio: use request_threaded_irq instead"

commit 3d27c4de upstream.

Since mutex lock in irq hanler is useless currently, here will
remove it together with it.

This reverts commit 9421e45f.

CC: Ahsan Atta <>
Signed-off-by: default avatarXiubo Li <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
Signed-off-by: default avatarTommi Rantala <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 5d07d245
......@@ -445,13 +445,10 @@ static irqreturn_t uio_interrupt(int irq, void *dev_id)
struct uio_device *idev = (struct uio_device *)dev_id;
irqreturn_t ret;
ret = idev->info->handler(irq, idev->info);
if (ret == IRQ_HANDLED)
return ret;
......@@ -974,9 +971,8 @@ int __uio_register_device(struct module *owner,
* FDs at the time of unregister and therefore may not be
* freed until they are released.
ret = request_threaded_irq(info->irq, NULL, uio_interrupt,
info->irq_flags, info->name, idev);
ret = request_irq(info->irq, uio_interrupt,
info->irq_flags, info->name, idev);
if (ret) {
info->uio_dev = NULL;
goto err_request_irq;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment