]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Fix typo in pmac_zilog
authorAndrew Morton <akpm@osdl.org>
Sat, 29 May 2004 03:41:15 +0000 (20:41 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 29 May 2004 03:41:15 +0000 (20:41 -0700)
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>
drivers/serial/pmac_zilog.c

index 5df209699de041d7c41e689cebfd38ae62ecc864..d452d4b4014732161a4d372991b0e011aa254e2e 100644 (file)
@@ -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;