V4L/DVB (6622): tda827x: prevent possible NULL pointer dereference in tda827xa_lna_gain
authorMichael Krufky <mkrufky@linuxtv.org>
Thu, 22 Nov 2007 17:40:25 +0000 (14:40 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:17 +0000 (19:02 -0200)
commit255c1887ccca6cde4a2eac231623b925bf621540
tree09cf5dbf4431a85347b0e28a872b989c362b47be
parent3b0c453aa78be253b4414cd337c9975f91e2c894
V4L/DVB (6622): tda827x: prevent possible NULL pointer dereference in tda827xa_lna_gain

If tda827x_config hasn't been defined, exit the function.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/tda827x.c