Hello. On 9/24/2016 4:47 PM, Stas Sergeev wrote:
The TIOCOUTQ ioctl calls chars_in_buffer(), and some apps depend on a correct behaviour of that. mos7840 implements it wrongly: if you write just one char, TIOCOUTQ will return 32. This patch should fix it by accounting the number of chars actually writCaylan Van Larson <[email protected]>ten.
???
This patch, unfortunately, misses the Tesed-by tag.
Tested-by.
The reported didn't test it, and I don't have the hardware in question.
Reporter?
Signed-off-by: Stas Sergeev <[email protected]> Reported-by: Caylan Van Larson <[email protected]> CC: Caylan Van Larson <[email protected]> CC: Alan Cox <[email protected]> CC: Johan Hovold <[email protected]> CC: Greg Kroah-Hartman <[email protected]> CC: [email protected] CC: [email protected]
[...] MBR, Sergei

