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)
commit9950c1b5b4b86d4aae12853c2f0a0ef11d976764
tree50ad703f54ea15f738dfc54c471b89fcdeca7dc0
parentfb7b37cf913c19dbdbb9bf3e653924e126b4007e
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