[linux-dvb] af9005/mt2060 module unload failure
xyzzy at speakeasy.org
Thu Jun 14 22:11:01 CEST 2007
On Thu, 14 Jun 2007, Luca Olivetti wrote:
> En/na Michael Krufky ha escrit:
> >> Why dont you just use dvb_frontend_detach?
> > I retract that comment...
> > The dvb-usb framework does this itself inside dvb-usb-dvb.c , inside
> > dvb_usb_adapter_frontend_exit
> > ... You should not have to do the symbol_put inside af9005-fe.c
> > If you remove that code, does it fix the issue?
> Well, I'm doing the attach myself to attach the tuner to the frontend
> the first time it is opened, so if I remove the code there will be at
> least one reference to the mt2060 (or qt1010, depending on the model) so
> it cannot be unloaded.
The tuner gets attached once when you call dvb_attach() from
af9005_fe_init. It will get detached once when dvb_frontend_detach() is
called. Everything balanced.
More information about the linux-dvb