Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2015 00:12:03 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289098 - head/sys/dev/iicbus
Message-ID:  <201510100012.t9A0C3an063319@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sat Oct 10 00:12:03 2015
New Revision: 289098
URL: https://svnweb.freebsd.org/changeset/base/289098

Log:
  Fix more cases of iicbus-layer functions that must return IIC_Exxxx values.

Modified:
  head/sys/dev/iicbus/iiconf.c

Modified: head/sys/dev/iicbus/iiconf.c
==============================================================================
--- head/sys/dev/iicbus/iiconf.c	Fri Oct  9 23:58:19 2015	(r289097)
+++ head/sys/dev/iicbus/iiconf.c	Sat Oct 10 00:12:03 2015	(r289098)
@@ -92,7 +92,7 @@ iicbus_poll(struct iicbus_softc *sc, int
 		break;
 
 	default:
-		return (EWOULDBLOCK);
+		return (IIC_EBUSBSY);
 	}
 
 	return (error);
@@ -157,7 +157,7 @@ iicbus_release_bus(device_t bus, device_
 
 	if (sc->owner != dev) {
 		IICBUS_UNLOCK(sc);
-		return (EACCES);
+		return (IIC_EBUSBSY);
 	}
 
 	/* 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510100012.t9A0C3an063319>