V4L/DVB (4311): Fix possible dvb-pll oops
authorAndrew de Quincey <adq_dvb@lidskialf.net>
Sun, 16 Jul 2006 22:41:41 +0000 (19:41 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 29 Jul 2006 20:22:25 +0000 (17:22 -0300)
commit55c05b6d226f68266d1f88dd81795b04d096b1c8
tree4d853db5c29dfc7b3ffb76498088ed888f46862b
parente61b6fc58b4a0b07f1ccfc67bf2b84a2848fcb2c
V4L/DVB (4311): Fix possible dvb-pll oops

Supplying a NULL i2c adapter to dvb_pll_attach is allowed, for example with
mt352 demods. However, the pll i2c probe will segfault because it does not
check for this.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/dvb-pll.c