svn commit: r354531 - stable/12/sys/dev/ow
Andriy Gapon
avg at FreeBSD.org
Fri Nov 8 07:38:35 UTC 2019
Author: avg
Date: Fri Nov 8 07:38:34 2019
New Revision: 354531
URL: https://svnweb.freebsd.org/changeset/base/354531
Log:
MFC r354077,r354078: owc_gpiobus_read_data: add recovery time to the read slot
Modified:
stable/12/sys/dev/ow/owc_gpiobus.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/ow/owc_gpiobus.c
==============================================================================
--- stable/12/sys/dev/ow/owc_gpiobus.c Fri Nov 8 07:36:51 2019 (r354530)
+++ stable/12/sys/dev/ow/owc_gpiobus.c Fri Nov 8 07:38:34 2019 (r354531)
@@ -307,7 +307,7 @@ owc_gpiobus_read_data(device_t dev, struct ow_timing *
/* 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);
More information about the svn-src-stable-12
mailing list