Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a68c55d authored by Xiubo Li's avatar Xiubo Li Committed by Greg Kroah-Hartman
Browse files

uio: use request_threaded_irq instead



commit 9421e45f upstream.

Prepraing for changing to use mutex lock.

Signed-off-by: default avatarXiubo Li <xiubli@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarTommi Rantala <tommi.t.rantala@nokia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 085d735c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -911,8 +911,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,
		ret = request_threaded_irq(info->irq, NULL, uio_interrupt,
					   info->irq_flags, info->name, idev);

		if (ret) {
			info->uio_dev = NULL;
			goto err_request_irq;