usbatm bind : need_heavy_init and flags merge

Stanislaw Gruszka stf_xl at wp.pl
Sun Nov 20 15:41:03 EST 2005


Hi everybody 
On Sunday 20 of November 2005 17:37, matthieu castet wrote:
> Duncan Sands wrote:
> >>now that use_iso become a flag, we may be could merge need_heavy_init 
> >>and flags in one flag ?
> > 
> > 
> > Done.
> I attach a patch that add UDSL_IGNORE_ELISEQ flags.

Maybe we can avoid this flag using urb->actual length > 0 hack:

if (likely(urb->actual_length > 0))
	 tasklet_schedule();
else {
	print_error_info()k
	throttle();
}

I will ask usb maintainers if using actual_length is ok.
__
Staszek Gruszka



More information about the Usbatm mailing list