Re: [PATCH] check dev-core/dvbdev is initialised when an adapter or device is registered [Was: saa7134-dvb initialised before dvbdev]

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

 



On 07/06/06 13:45, Johannes Stezenbach wrote:
> On Wed, Jun 07, 2006 at 12:36:27AM +0100, Simon Arlott wrote:
>> The init function in dvbdev isn't called until after saa7134-dvb has
>> finished initialising, so devices can't be registered properly. No-one
>> else has replied about this yet and someone might the patch I made
>> useful so here it is.
> 
> I think a much simpler way to fix this would be to change
>   module_init(init_dvbdev);
> into
>   subsys_initcall(init_dvbdev);
> 
> Could you please test if that fixes it for you?
> 

Yes, it does:

[4294671.127000] dvb-core: init_dvbdev

[4294671.424000] saa7134[0]: pinnacle 300i dvb setup
[4294671.427000] dvb-core: dvb_register_adapter
[4294671.427000] DVB: registering new adapter (saa7134[0]).
[4294671.427000] DVB: registering frontend 0 (Zarlink MT352 DVB-T)...
[4294671.427000] dvb-core: dvb_register_device
[4294671.427000] dvb-core: dvb_register_device
[4294671.427000] dvb-core: dvb_register_device
[4294671.427000] dvb-core: dvb_register_device


> Thanks,
> Johannes
> 
> _______________________________________________
> 
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


-- 
Simon Arlott

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________

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