[media] cx23885-dvb: check if dvb_attach() succeded
authorMiroslav Slugen <thunder.mmm@gmail.com>
Sun, 11 Dec 2011 21:57:58 +0000 (18:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 16 Jan 2012 13:54:50 +0000 (11:54 -0200)
commita7c8aadad39428b64d26c3971d967f8314e2397d
tree7fba24fbf2553bf94a2cf1fe4ffb173da1192e90
parent6c2cc5b575ed09d81507ec86cc5cfad022d9236b
[media] cx23885-dvb: check if dvb_attach() succeded

Fix possible null dereference for Leadtek DTV 3200H
XC4000 tuner when no firmware file available.

Cc: stable@kernel.org
Signed-off-by: Miroslav Slugen <thunder.mmm@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-dvb.c