summaryrefslogtreecommitdiffstats
path: root/drivers/dma/imx-dma.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-05-08 11:56:38 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-19 17:43:34 -0700
commitb0dceb6a96c2f87a40a9f99bc05711a3f7c1eaa2 (patch)
tree8d3b6ac565360c27b91b44ae58dc987c7f0b2c9b /drivers/dma/imx-dma.c
parent7cbcb136a7d703f1bd590979a3d07348fe1bc81d (diff)
downloadlinux-b0dceb6a96c2f87a40a9f99bc05711a3f7c1eaa2.tar.gz
linux-b0dceb6a96c2f87a40a9f99bc05711a3f7c1eaa2.tar.bz2
linux-b0dceb6a96c2f87a40a9f99bc05711a3f7c1eaa2.zip
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>
Diffstat (limited to 'drivers/dma/imx-dma.c')
0 files changed, 0 insertions, 0 deletions