ftdiuart: bugfix for buffer pointer on partial write to FD.
Previously I neglected to increment the buffer pointer which allow me
to double write same data and exclude tail if write didn't complete in
Also fixing bug with EAGAIN/EWOULDBLOCK to retry in those cases.
Previously we'd just have quitely ignored the write.
- start servod on board with active uart
- send & receive uart traffic successfully
Reviewed-by: Vincent Palatin <firstname.lastname@example.org>
Commit-Queue: Todd Broch <email@example.com>
Tested-by: Todd Broch <firstname.lastname@example.org>
1 file changed