mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix more cases of iicbus-layer functions that must return IIC_Exxxx values.
This commit is contained in:
parent
48e5b4261a
commit
4006520bea
1 changed files with 2 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ iicbus_poll(struct iicbus_softc *sc, int how)
|
|||
break;
|
||||
|
||||
default:
|
||||
return (EWOULDBLOCK);
|
||||
return (IIC_EBUSBSY);
|
||||
}
|
||||
|
||||
return (error);
|
||||
|
|
@ -157,7 +157,7 @@ iicbus_release_bus(device_t bus, device_t dev)
|
|||
|
||||
if (sc->owner != dev) {
|
||||
IICBUS_UNLOCK(sc);
|
||||
return (EACCES);
|
||||
return (IIC_EBUSBSY);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue