summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dib0700.h
diff options
context:
space:
mode:
authorPatrick Boettcher <pboettcher@kernellabs.com>2009-06-11 10:33:00 +0200
committerPatrick Boettcher <pboettcher@kernellabs.com>2009-06-11 10:33:00 +0200
commit29da0924e21b20128e9ce9eca275630941586d84 (patch)
tree4e98c37f6e56aa444fdc0014ad46ce2d78c093a7 /linux/drivers/media/dvb/dvb-usb/dib0700.h
parent7ef1e386396d4ebc645310511099bf2526e519c4 (diff)
downloadmediapointer-dvb-s2-29da0924e21b20128e9ce9eca275630941586d84.tar.gz
mediapointer-dvb-s2-29da0924e21b20128e9ce9eca275630941586d84.tar.bz2
b2c2: Fix problems with frontend attachment
From: Trent Piepho <xyzzy@speakeasy.org> 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. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dib0700.h')
0 files changed, 0 insertions, 0 deletions