summaryrefslogtreecommitdiff
path: root/src/portable/valentyusb
AgeCommit message (Collapse)Author
2019-11-29valentyusb: eptri: don't double-advance read bufferSean Cross
Due to an error, we were double-advancing the FIFO buffer. The end result was that the second half of most reads were getting ignored. This wasn't found during earlier testing because only 64-byte buffers were tested. This corrects this error by avoiding double-advancing the buffer. Signed-off-by: Sean Cross <[email protected]>
2019-11-20eptri: clear proper endpoint when opening IN portSean Cross
When opening a USB port, we ensure the buffer is NULL and has a length of 0. Due to a mistake in specifying the endpoint type, we never actually cleared the value when opening an IN endpoint. This patch fixes the comparison when opening an IN endpoint. This fixes issue #218. Signed-off-by: Sean Cross <[email protected]>
2019-11-13valentyusb: rename from `foosn`Sean Cross
While Fomu is produced by Foosn, the actual name of the hardware block is `valentyusb`. Rename the module to match that. Signed-off-by: Sean Cross <[email protected]>