
23 Oct
2014
23 Oct
'14
9:10 p.m.
Hi Simon,
2014-10-24 3:34 GMT+09:00 Simon Glass sjg@chromium.org:
Yes it is actually mandatory, since we really don't want drivers to block in their getc()/putc() methods.
If so, could you update this comment block, please?
I think the comment "This method is optional" is misleading.
Output character check is required so we can implement flush. E.g. when we change the baud rate we should flush first.
OK, I will implement this way; .handler returns 0 input and output FIFO are both empty, returns 1 otherwise. Is this correct? (My hardware cannot know how many characters are available in the FIFO.)
--
Best Regards
Masahiro Yamada