]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10940): saa6588: Prevent general protection fault on rmmod
authorJean Delvare <khali@linux-fr.org>
Sat, 7 Mar 2009 10:44:12 +0000 (07:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:17 +0000 (12:43 -0300)
commitfb6991d417a9f06978119ea597dc5955b3eb784d
tree9c147ebcb96244536a0fe4c8f2cce2a9f5210712
parentc1089bdc07f06b90f0bc50d0789c2a4833097df7
V4L/DVB (10940): saa6588: Prevent general protection fault on rmmod

The removal of the timer which polls the infrared input is racy.
Replacing the timer with a delayed work solves the problem.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa6588.c