]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10984): lgdt3305: avoid OOPS in error path of lgdt3305_attach
authorMichael Krufky <mkrufky@linuxtv.org>
Thu, 12 Mar 2009 13:12:16 +0000 (10:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:20 +0000 (12:43 -0300)
commit9f9cd8f18c7faabf6dc144c198f6ee30429d3da0
tree6e35fb201aba52b7cb94f7c6d064f323dfb7ab30
parent7c026c35114d169d77c2543fdf4d5689a1c9a51d
V4L/DVB (10984): lgdt3305: avoid OOPS in error path of lgdt3305_attach

Setting state->frontend.demodulator_priv to NULL in the event of
a kzalloc error will result in an OOPS.  Just remove that line.

Thanks to Matthias Schwarzott for pointing this out.

Cc: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/lgdt3305.c