linux/drivers/media/pci/ddbridge
Daniel Scheller b32a2b42f7 media: ddbridge: improve error handling logic on fe attach failures
This change makes sure that demod frontends are always detached whenever
a tuner frontend attach failed. Achieve this by moving the detach-on-
failure logic at the end of dvb_input_attach(), and adding a goto to this
block on every tuner attach failure case, so if an error occurs, there are
no stray attached frontends left. As a side effect, this removes some
duplicated code.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-13 10:19:41 -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: improve error handling logic on fe attach failures 2017-12-13 10:19:41 -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
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