Date: Fri, 25 Oct 2019 15:39:46 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354077 - head/sys/dev/ow Message-ID: <201910251539.x9PFdk6Y028419@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910251539.x9PFdk6Y028419>