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 w1: ds2482: Added 1-Wire pull-up support to the driver 2013-02-18 12:47:12 -08:00
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 w1: add 1-wire master driver for i.MX27 / i.MX31 2009-01-08 08:31:13 -08:00
matrox_w1.c w1: remove use of __devexit 2012-11-21 12:42:25 -08:00
mxc_w1.c w1: mxc_w1: Optimize mxc_w1_ds2_reset_bus() 2014-06-19 17:43:34 -07:00
omap_hdq.c w1: omap-hdq: remove deprecated IRQF_DISABLED 2013-10-16 12:36:10 -07:00
w1-gpio.c w1-gpio: handle of_get_gpio() returning -EPROBE_DEFER better 2014-02-15 12:08:38 -08:00