milkymist-uart: use qemu_chr_fe_write_all() instead of qemu_chr_fe_write()
qemu_chr_fe_write() is capable of returning 0 to indicate EAGAIN (and friends) and we don't handle this. Just change it to qemu_chr_fe_write_all() to fix. Reported-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com> Acked-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: NAntony Pavlov <antonynpavlov@gmail.com> Signed-off-by: NMichael Walle <michael@walle.cc> Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
Showing
想要评论请 注册 或 登录