V4L/DVB (10987): cx23885: fix crash on non-netup cards
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 13 Mar 2009 16:24:19 +0000 (13:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:20 +0000 (12:43 -0300)
commitafd96668d8491f762e35c16ce65781da820a67fa
tree6248b90ae6a523b311d903283374358cea8b73fb
parent9832d765f82769799ba15ac9d2e8edf8f7de6898
V4L/DVB (10987): cx23885: fix crash on non-netup cards

The new support for the CX23885_BOARD_NETUP_DUAL_DVBS2_CI board broke the
existing boards. Interrupts for the netup part were enabled and handled
without testing whether the current board actually had a netup -> instant
and fatal crash.

I've added tests to do this only for the CX23885_BOARD_NETUP_DUAL_DVBS2_CI
board.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-core.c
drivers/media/video/cx23885/cx23885-dvb.c