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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"