Adapter driver

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

 



phil at netroedge.com wrote:

> 
>>2) There is 3 fields in the i2c_algo_bit_data structure for timing: udelay,
>>mdelay, timeout. What should I make this? I've made them 80, 80, 100
>>respectively (stolen from Russell King's acorn RTC driver), but I'm not sure
>>if this is the best selection...
> 
> 
> Humm... I'll have to punt this to either Mark or Frodo.
> 
>

the numbers are half-clock-cycle times in microseconds.
So 80 means a clock of approx. 6 kHz which is really slow.
Don't know what the difference between udelay and mdelay is,
have always seen them the same.






[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux