Joe Burks wrote: >Okay, on a related note then... > >I was intending to upload the microcode that makes my camera work in the open >function. This involves submitting several URBs. If the kernel is locked >during this time, is that a bad time to be submitting a half dozen control >messages? >
Probably not, but a lot of drivers do their initialization in open() so it seems to be fairly safe. lock_kernel() is supposedly designed to handle code that sleeps, such as synchronous control transfers. >If so, when is a good time? > You could do it in probe(), but that could cause device timeouts if you take too long. ov511 does its initialization there, but I've been considering moving it into open(). Of course, with Gerd's V4L redesign the whole question is moot (at least for 2.5 so far). Yet another reason why I like that code. -- Mark McClelland [EMAIL PROTECTED] _______________________________________________ Video4linux-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/video4linux-list
