summaryrefslogtreecommitdiff
path: root/sys/dev/ow
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2019-10-25 15:39:46 +0000
committerAndriy Gapon <avg@FreeBSD.org>2019-10-25 15:39:46 +0000
commitb8c776ba02fbe4ab6a0b7947c9e8bd4675a2f81a (patch)
treedbd2ecf2d93a85487b8f7d6894385b9f47bb7c73 /sys/dev/ow
parentbb7b803bf2299d512d9eab58d58367c02325dcec (diff)
Notes
Diffstat (limited to 'sys/dev/ow')
-rw-r--r--sys/dev/ow/owc_gpiobus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ow/owc_gpiobus.c b/sys/dev/ow/owc_gpiobus.c
index e0f9509e18db..149c820d59e6 100644
--- a/sys/dev/ow/owc_gpiobus.c
+++ b/sys/dev/ow/owc_gpiobus.c
@@ -307,7 +307,7 @@ owc_gpiobus_read_data(device_t dev, struct ow_timing *t, int *bit)
/* Wait out the rest of t_slot */
do {
now = sbinuptime();
- } while (now - then < t->t_slot * SBT_1US);
+ } while (now - then < (t->t_slot + t->t_rec)* SBT_1US);
RELBUS(sc);