From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This patch fixes a typo preventing channel B from working on the Rx path of
pmac zilog (never calling tty_flip_*). I think I never tested channel B :)
Thanks to Hollis Blanchard for spotting the bug.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
if (r3 & CHBEXT)
pmz_status_handle(uap_b, regs);
if (r3 & CHBRxIP)
- pmz_receive_chars(uap_b, regs);
+ tty = pmz_receive_chars(uap_b, regs);
if (r3 & CHBTxIP)
pmz_transmit_chars(uap_b);
rc = IRQ_HANDLED;