From: Xiubo Li Date: Sat, 7 Jul 2018 02:05:37 +0000 (-0400) Subject: uio: use request_threaded_irq instead X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9421e45f5ff3d558cf8b75a8cc0824530caf3453;p=openwrt%2Fstaging%2Fblogic.git uio: use request_threaded_irq instead Prepraing for changing to use mutex lock. Signed-off-by: Xiubo Li Signed-off-by: Greg Kroah-Hartman --- 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; }