Fix a compile error that crept into the LPC17xx USB host driver
This commit is contained in:
parent
270afe8c90
commit
976e178ac4
@ -1304,7 +1304,7 @@ static int lpc17_ctrltd(struct lpc17_usbhost_s *priv, uint32_t dirpid,
|
||||
else
|
||||
{
|
||||
uvdbg("Bad TD completion status: %d\n", EDCTRL->tdstatus);
|
||||
ret = ed->tdstatus == TD_CC_STALL ? -EPERM : -EIO;
|
||||
ret = EDCTRL->tdstatus == TD_CC_STALL ? -EPERM : -EIO;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user