diff options
author | Xiubo Li <xiubli@redhat.com> | 2018-07-07 04:05:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-07 16:57:35 +0200 |
commit | 9421e45f5ff3d558cf8b75a8cc0824530caf3453 (patch) | |
tree | 4a22ee16fd5b2f7c163a57da4ab221957aa678ad /drivers/uio/uio.c | |
parent | fpga: altera-cvp: Fix an error handling path in 'altera_cvp_probe()' (diff) | |
download | linux-9421e45f5ff3d558cf8b75a8cc0824530caf3453.tar.xz linux-9421e45f5ff3d558cf8b75a8cc0824530caf3453.zip |
uio: use request_threaded_irq instead
Prepraing for changing to use mutex lock.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio/uio.c')
-rw-r--r-- | drivers/uio/uio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index e8f4ac9400ea..b4b2ae1e0473 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -902,8 +902,9 @@ 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_irq(info->irq, uio_interrupt, - info->irq_flags, info->name, idev); + ret = request_threaded_irq(info->irq, NULL, uio_interrupt, + info->irq_flags, info->name, idev); + if (ret) goto err_request_irq; } |