svn commit: r354077 - head/sys/dev/ow
Andriy Gapon
avg at FreeBSD.org
Fri Oct 25 15:39:46 UTC 2019
Author: avg
Date: Fri Oct 25 15:39:46 2019
New Revision: 354077
URL: https://svnweb.freebsd.org/changeset/base/354077
Log:
owc_gpiobus_read_data: add recovery time to the read slot
Reviewed by: imp
MFC after: 2 weeks
Modified:
head/sys/dev/ow/owc_gpiobus.c
Modified: head/sys/dev/ow/owc_gpiobus.c
==============================================================================
--- head/sys/dev/ow/owc_gpiobus.c Fri Oct 25 15:38:09 2019 (r354076)
+++ head/sys/dev/ow/owc_gpiobus.c Fri Oct 25 15:39:46 2019 (r354077)
@@ -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-all
mailing list