From: Alexander Shiyan Date: Thu, 8 May 2014 07:56:40 +0000 (+0400) Subject: w1: mxc_w1: Optimize mxc_w1_ds2_touch_bit() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~168^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f80b2581a7068907076ca92c43866f36f446c039;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed