linux-sg2042/drivers/media/pci/ddbridge
Daniel Scheller 25ac563abf media: ddbridge: completely tear down input resources on failure
In dvb_input_attach(), whenever a demod driver fails to initialise, or if
frontend registration fails, perform a full input/frontend teardown using
dvb_input_detach() (which can safely be done since the current init state
is tracked in the 'attached' struct member). Claimed resources thus are
freed which aren't needed when an input or a port is not functional.

While at it, in ddb_ports_detach(), detach the secondary input first. Also
increase the kernlog severity of TDA18212 errors and tuner failures in
general.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-19 07:16:53 -05:00
..
Kconfig media: ddbridge: support MaxLinear MXL5xx based cards (MaxS4/8) 2017-08-20 07:27:11 -04:00
Makefile media: ddbridge/max: rename ddbridge-maxs8.[c|h] to ddbridge-max.[c|h] 2017-12-11 13:04:47 -05:00
ddbridge-ci.c media: ddbridge: shut up a new warning 2017-12-11 13:04:49 -05:00
ddbridge-ci.h media: ddbridge: split off CI (common interface) from ddbridge-core 2017-12-11 13:04:46 -05:00
ddbridge-core.c media: ddbridge: completely tear down input resources on failure 2017-12-19 07:16:53 -05:00
ddbridge-hw.c media: ddbridge: fixup checkpatch-strict issues 2017-12-11 13:04:45 -05:00
ddbridge-hw.h media: ddbridge: remove ddb_info's from the global scope 2017-08-20 07:41:38 -04:00
ddbridge-i2c.c media: ddbridge: fixup checkpatch-strict issues 2017-12-11 13:04:45 -05:00
ddbridge-i2c.h media: ddbridge: bump ddbridge code to version 0.9.29 2017-08-20 07:01:04 -04:00
ddbridge-io.h media: ddbridge: fix build warnings 2017-11-07 03:12:17 -05:00
ddbridge-main.c media: ddbridge: fixup checkpatch-strict issues 2017-12-11 13:04:45 -05:00
ddbridge-max.c media: ddbridge/max: prefix lnb_init_fmode() and fe_attach_mxl5xx() 2017-12-11 13:04:47 -05:00
ddbridge-max.h media: ddbridge/max: prefix lnb_init_fmode() and fe_attach_mxl5xx() 2017-12-11 13:04:47 -05:00
ddbridge-regs.h media: ddbridge: fixup checkpatch-strict issues 2017-12-11 13:04:45 -05:00
ddbridge.h media: ddbridge: update driver version number 2017-12-11 13:04:48 -05:00