Commit 320565ce authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix typo in pmac_zilog

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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d80734da
......@@ -483,7 +483,7 @@ static irqreturn_t pmz_interrupt(int irq, void *dev_id, struct pt_regs *regs)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment