Home
last modified time | relevance | path

Searched hist:f80b2581 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/w1/masters/
H A Dmxc_w1.cf80b2581 Thu May 08 02:56:40 CDT 2014 Alexander Shiyan <shc_work@mail.ru> w1: mxc_w1: Optimize mxc_w1_ds2_touch_bit()

According to the i.MX reference manual, the read/write bit operations
takes from 60 us to 120 us.
This patch optimizes mxc_w1_ds2_touch_bit() function to use proper
value for such delay. 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>
f80b2581 Thu May 08 02:56:40 CDT 2014 Alexander Shiyan <shc_work@mail.ru> w1: mxc_w1: Optimize mxc_w1_ds2_touch_bit()

According to the i.MX reference manual, the read/write bit operations
takes from 60 us to 120 us.
This patch optimizes mxc_w1_ds2_touch_bit() function to use proper
value for such delay. 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>