summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-10-29 14:02:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-29 22:31:18 +0100
commitcf1670486b0b315c911e947a732f3bc603fe2438 (patch)
tree5f163ca44623fba8e239e64a18f08b962a90e876 /drivers/w1
parent72703410feff9ed44779b54a41ff30312e781279 (diff)
downloadbarebox-cf1670486b0b315c911e947a732f3bc603fe2438.tar.gz
barebox-cf1670486b0b315c911e947a732f3bc603fe2438.tar.xz
clock: introduce non interruptible timeout
is_timeout call poller_call if the timeout is >= 100us but on 1-wire bus we need to wait 500us and not more than 930us for the bus reset. So if the poller_call is caller we can not guarantee it. So for this introduce is_non_interruptible_timeout than we only wait. Use it for ndelay too. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions