linux/drivers/media/dvb/ttpci
Bjørn Mork dd0bbcc626 V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference"
Never call dvb_frontend_detach if we failed to attach a frontend. This fixes
the following oops:

[    8.172997] DVB: registering new adapter (TT-Budget S2-1600 PCI)
[    8.209018] adapter has MAC addr = 00:d0:5c:cc:a7:29
[    8.328665] Intel ICH 0000:00:1f.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[    8.328753] Intel ICH 0000:00:1f.5: setting latency timer to 64
[    8.562047] DVB: Unable to find symbol stv090x_attach()
[    8.562117] BUG: unable to handle kernel NULL pointer dereference at 000000ac
[    8.562239] IP: [<e08b04a3>] dvb_frontend_detach+0x4/0x67 [dvb_core]

Ref http://bugs.debian.org/575207

Also clean up if we are unable to register the tuner and LNB drivers

[mchehab@redhat.com: add printk log level, to calm down chechpatch.pl]
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Reported-by: Fladischer Michael <FladischerMichael@fladi.at>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-19 12:57:17 -03:00
..
av7110_av.c V4L/DVB (11763): dvb-ttpci: Some whitespace adjustments 2009-06-16 18:21:02 -03:00
av7110_av.h
av7110_ca.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
av7110_ca.h
av7110_hw.c V4L/DVB (11569): av7110_hw: fix compile warning 2009-06-16 18:20:37 -03:00
av7110_hw.h firmware: convert av7110 driver to request_firmware() 2009-04-06 14:34:12 -07:00
av7110_ipack.c
av7110_ipack.h
av7110_ir.c V4L/DVB (13946): proc_fops: convert av7110 2010-02-26 15:10:33 -03:00
av7110_v4l.c V4L/DVB (12199): remove redundant tests on unsigned 2009-09-12 12:17:23 -03:00
av7110.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
av7110.h V4L/DVB (8889): dvb-ttpci: Support full-ts hardware modification 2008-10-12 09:36:56 -02:00
budget-av.c V4L/DVB (13361): stv090x: fix TS corruption with High Symbol Rate streams 2009-12-05 18:41:32 -02:00
budget-ci.c V4L/DVB: Convert drivers/media/dvb/ttpci/budget-ci.c to use ir-core 2010-05-19 12:56:54 -03:00
budget-core.c V4L/DVB (8964): dvb/budget: push adapter_nr mod option down to individual drivers 2008-10-12 09:37:02 -02:00
budget-patch.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
budget.c V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference" 2010-05-19 12:57:17 -03:00
budget.h V4L/DVB (9395): Add initial support for two KNC1 DVB-S2 boards 2008-12-29 17:53:15 -02:00
Kconfig V4L/DVB (12153): ttpci: config TTPCI_EEPROM depends on I2C 2009-07-05 14:29:55 -03:00
Makefile Remove fdump tool for av7110 firmware 2009-04-06 14:34:44 -07:00
ttpci-eeprom.c
ttpci-eeprom.h