]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7537): cx88/saa7134: Fix: avoid OOPS on module unload
authorMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 11 Apr 2008 14:29:44 +0000 (11:29 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:08:00 +0000 (14:08 -0300)
commit1e5f08a6270e444e830d1863d5ee6bdec0406d43
tree50ad703f54ea15f738dfc54c471b89fcdeca7dc0
parent1ae53829c75425e8d806568756d352b4f7bc670b
V4L/DVB (7537): cx88/saa7134: Fix: avoid OOPS on module unload

If frontend is not attached, both cx88-dvb and saa7134-dvb don't
register DVB. However, dvb unregister were inconditionally called.

Due to that, an OOPS is generated.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-dvb.c
drivers/media/video/saa7134/saa7134-dvb.c