mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 06:55:13 +08:00
c9723750a6
On my platform (i.MX53) bus access sometimes fails with
w1_search: max_slave_count 64 reached, will continue next search.
The reason is the use of jiffies to implement a 200us timeout in
mxc_w1_ds2_touch_bit().
On some platforms the jiffies timer resolution is insufficient for this.
Fix by replacing jiffies by ktime_get().
For consistency apply the same change to the other use of jiffies in
mxc_w1_ds2_reset_bus().
Fixes:
|
||
---|---|---|
.. | ||
ds1wm.c | ||
ds2482.c | ||
ds2490.c | ||
Kconfig | ||
Makefile | ||
matrox_w1.c | ||
mxc_w1.c | ||
omap_hdq.c | ||
sgi_w1.c | ||
w1-gpio.c |