forked from luck/tmp_suning_uos_patched
eccd15aad7
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> |
||
---|---|---|
.. | ||
flexcop_ibi_value_be.h | ||
flexcop_ibi_value_le.h | ||
flexcop-common.h | ||
flexcop-dma.c | ||
flexcop-eeprom.c | ||
flexcop-fe-tuner.c | ||
flexcop-hw-filter.c | ||
flexcop-i2c.c | ||
flexcop-misc.c | ||
flexcop-pci.c | ||
flexcop-reg.h | ||
flexcop-sram.c | ||
flexcop-usb.c | ||
flexcop-usb.h | ||
flexcop.c | ||
flexcop.h | ||
Kconfig | ||
Makefile |