RE: [PATCH v5 3/6] HCD files for the DWC2 driver

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

 



> From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx]
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux