Fix debugging output, fallout from something like s/read/readctl/g
while renaming variables in a previous change.
This commit is contained in:
parent
96bef4e3d4
commit
c19645fa72
@ -610,7 +610,7 @@ bcm_bsc_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs)
|
|||||||
*/
|
*/
|
||||||
if (sc->sc_replen == 0) {
|
if (sc->sc_replen == 0) {
|
||||||
DEVICE_DEBUGF(sc, 1, "%-6s 0x%02x len %d: ",
|
DEVICE_DEBUGF(sc, 1, "%-6s 0x%02x len %d: ",
|
||||||
(curisread) ? "readctl" : "write", curslave,
|
(curisread) ? "read" : "write", curslave,
|
||||||
sc->sc_totlen);
|
sc->sc_totlen);
|
||||||
curlen = sc->sc_totlen;
|
curlen = sc->sc_totlen;
|
||||||
if (curisread) {
|
if (curisread) {
|
||||||
@ -622,7 +622,7 @@ bcm_bsc_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DEVICE_DEBUGF(sc, 1, "%-6s 0x%02x len %d: ",
|
DEVICE_DEBUGF(sc, 1, "%-6s 0x%02x len %d: ",
|
||||||
(curisread) ? "readctl" : "write", curslave,
|
(curisread) ? "read" : "write", curslave,
|
||||||
sc->sc_replen);
|
sc->sc_replen);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user