kernel_optimize_test/drivers/media/dvb/b2c2
Trent Piepho eccd15aad7 V4L/DVB (11964): b2c2: Fix problems with frontend attachment
The frontend attachment code didn't handle cases where the frontend
partially failed to attach.  For instance, when the demod was attached
successfully but the tuner driver wasn't compiled or fails to init for some
reason.  In these cases we try to clean up the partial attachment and fail
instead of proceeding with a broken frontend.

If frontend registration fails, clean up with dvb_frontend_detach() rather
than just calling the frontend's main release method.  The former does some
additional stuff, like release an attached tuner and take care of putting
symbols when dynamic binding is used.

In skystar2_rev23_attach() it's not necessary to set fc->dev_type, that
gets set before skystar2_rev23_attach() is called.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16 19:07:40 -03:00
..
flexcop_ibi_value_be.h V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop_ibi_value_le.h V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop-common.h V4L/DVB (11829): Rewrote frontend-attach mechanism to gain noise-less deactivation of submodules 2009-06-16 18:21:09 -03:00
flexcop-dma.c V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop-eeprom.c V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop-fe-tuner.c V4L/DVB (11964): b2c2: Fix problems with frontend attachment 2009-06-16 19:07:40 -03:00
flexcop-hw-filter.c V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop-i2c.c V4L/DVB (11828): Reducing print-level of I2C error prints 2009-06-16 18:21:09 -03:00
flexcop-misc.c V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop-pci.c V4L/DVB (11288): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 2/2 2009-03-30 12:43:47 -03:00
flexcop-reg.h V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop-sram.c V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop-usb.c V4L/DVB (11288): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 2/2 2009-03-30 12:43:47 -03:00
flexcop-usb.h V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop.c V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
flexcop.h V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00
Kconfig V4L/DVB (11127): Kconfig: replace all occurrences of CUSTOMIZE to CUSTOMISE 2009-03-30 12:43:31 -03:00
Makefile V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2 2009-03-30 12:43:47 -03:00