OpenCloudOS-Kernel/drivers/media/dvb
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
..
b2c2 V4L/DVB (11964): b2c2: Fix problems with frontend attachment 2009-06-16 19:07:40 -03:00
bt8xx V4L/DVB (11255): dst_ca: fix compile warning. 2009-03-30 12:43:44 -03:00
dm1105 dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
dvb-core V4L/DVB (11930): TS continuity check: show error message when discontinuity detected or TEI flag detected in header 2009-06-16 19:07:23 -03:00
dvb-usb V4L/DVB (11915): af9015: support for Genius TVGo DVB-T03 2009-06-16 19:07:17 -03:00
firewire V4L/DVB (11739): remove driver_data direct access of struct device 2009-06-16 18:20:58 -03:00
frontends V4L/DVB (11931): lnbp21: Add missing newline 2009-06-16 19:07:23 -03:00
pluto2 dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
siano V4L/DVB (10772): siano: prevent duplicate variable declaration 2009-03-30 12:43:02 -03:00
ttpci V4L/DVB (11763): dvb-ttpci: Some whitespace adjustments 2009-06-16 18:21:02 -03:00
ttusb-budget V4L/DVB (10149): ttusb-budget: make it depend on PCI 2009-01-02 17:12:21 -02:00
ttusb-dec V4L/DVB (10248): v4l-dvb: fix a bunch of compile warnings. 2009-01-29 08:38:04 -02:00
Kconfig firedtv: massive refactoring 2009-02-24 14:51:29 +01:00
Makefile firedtv: rename files, variables, functions from firesat to firedtv 2009-02-24 14:51:29 +01:00