media: igorplugusb: break cyclical race on disconnect
authorOliver Neukum <oneukum@suse.com>
Thu, 12 May 2022 12:38:48 +0000 (13:38 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:33 +0000 (10:30 +0100)
commit2a7745949386e275ced3b38410e9f174447949df
tree24f5d4a34349cb28904f05cf2335bc0dba0d3a14
parent522f1d7d95fea3238c777148d95c1d793afa40c2
media: igorplugusb: break cyclical race on disconnect

The driver uses a timer, that may submit the URB and
the URB may start the timer. No simple order of killing
can break te cycle. Poison the URB before killing
the timer.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/rc/igorplugusb.c