> From: Alan Stern [mailto:[email protected]]
> Sent: Wednesday, February 27, 2013 7:25 AM

< ... >

> Is there some specific reason for rolling your own version of
> usb_calc_bus_time()?

I have no idea. This is a very old driver, perhaps it was written before
the generic usb_calc_bus_time() existed.

> I presume you copied these timing values from the USB spec.  Note that
> the formulas in the spec are full of mistakes.  At some point I will
> submit corrections to the core routine, along with a document
> explaining how they are calculated.  But if you have your own separate
> timing routine like this, I won't change it.

I will compare our routine to the kernel one, and if the results are
identical I will use that one instead. Thanks.

-- 
Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to