alistair23-linux/drivers/w1/masters
Alexander Shiyan b0dceb6a96 w1: mxc_w1: Optimize mxc_w1_ds2_reset_bus()
According to the i.MX reference manual, the reset procedure and
"presence" pulse takes 511 and 512 us, respectively. Measurement for
i.MX27 is about 1100 us. There is no need to wait Reset+Presence
more than this time.
This patch optimizes mxc_w1_ds2_reset_bus() function to use proper
value for delay after w1 bus reset. Nevertheless, a small margin for
the timeout has been added for the case if clock frequency is inaccurate.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-19 17:43:34 -07:00
..
ds1wm.c Revert ds1wm.c from "w1: hold bus_mutex in netlink and search" 2014-02-08 13:30:43 -08:00
ds2482.c
ds2490.c w1: hold bus_mutex in netlink and search 2014-02-07 15:40:18 -08:00
Kconfig w1: mxc_w1: Enable driver compilation with COMPILE_TEST 2014-02-28 15:27:09 -08:00
Makefile
matrox_w1.c
mxc_w1.c w1: mxc_w1: Optimize mxc_w1_ds2_reset_bus() 2014-06-19 17:43:34 -07:00
omap_hdq.c
w1-gpio.c w1-gpio: handle of_get_gpio() returning -EPROBE_DEFER better 2014-02-15 12:08:38 -08:00