diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-05-08 09:56:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 02:43:34 +0200 |
commit | f80b2581a7068907076ca92c43866f36f446c039 (patch) | |
tree | 8b98431b0debc428c33bfde35fe310a89fbd63b4 /drivers/w1/w1_int.c | |
parent | w1: mxc_w1: Perform a software reset at startup (diff) | |
download | linux-f80b2581a7068907076ca92c43866f36f446c039.tar.xz linux-f80b2581a7068907076ca92c43866f36f446c039.zip |
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>
Diffstat (limited to 'drivers/w1/w1_int.c')
0 files changed, 0 insertions, 0 deletions