aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ow
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2019-11-08 07:38:34 +0000
committerAndriy Gapon <avg@FreeBSD.org>2019-11-08 07:38:34 +0000
commit4869ee8c50e0cb0da7ac1a67691bd55fb3a6bbaf (patch)
tree7f0b70f981143b2e1839f2323322b931742d26a3 /sys/dev/ow
parent80fa48d9d784dbddf32e9809d1541a640a3ec412 (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..eff2243f91eb 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);