OSDN Git Service

V4L/DVB (7449): cx88: fix oops on module removal caused by IR worker
authorMarton Balint <cus@fazekas.hu>
Wed, 26 Mar 2008 05:07:35 +0000 (02:07 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:55 +0000 (14:07 -0300)
commitb12203d253732d282dd97909a1424016694183e9
treec898f7f2582b7b2be9a216392e544e4f055d4964
parent99e09eac25f752b25f65392da7bd747b77040fea
V4L/DVB (7449): cx88: fix oops on module removal caused by IR worker

If the IR worker is not stopped before the removal of the cx88xx module,
an OOPS may occur, because the worker function cx88_ir_work gets called.
So stop the ir worker.

Signed-off-by: Marton Balint <cus@fazekas.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-video.c