Re: Doubt in file dvb-usb-dvb.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 Jul 2007, lwtbenben wrote:

>     In dvb-usb-dvb.c, where we want to register our frontend to the DVB core, we have these condition checked;    
>     if (adap->props.frontend_attach(adap) == 0 && adap->fe != NULL)    

I think this was just done to do a santiy check whether the 
frontend_attach was really attaching a frontend.

>     But actually pointer adap->fe is filled in the fuction adap->props.frontend_attach(adap),     
>     I think this unsuitable.    
>     And my driver just can not enter this function to register my frontend to Linux DVB core.
>     Any advice?

It cannot enter this function? Why, because the compiler is checking 
adap->fe first?

Patrick.

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux