Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c5f333831fe2ff1656f954aabdb3eb8c276169cc
Commit:     c5f333831fe2ff1656f954aabdb3eb8c276169cc
Parent:     2a7057e306b198e1e0d7db8615d8e9c69b880913
Author:     Alan Cox <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 19 15:12:22 2007 +0000
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Sat Jan 26 14:50:01 2008 +0000

    [SERIAL] 21285: Report baud rate back via termios
    
    Currently reports back the requested rate not the result of the divides
    but thats an easy fix for someone with h/w
    
    Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 drivers/serial/21285.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/serial/21285.c b/drivers/serial/21285.c
index facb678..6a48dfa 100644
--- a/drivers/serial/21285.c
+++ b/drivers/serial/21285.c
@@ -277,6 +277,8 @@ serial21285_set_termios(struct uart_port *port, struct 
ktermios *termios,
        if (termios->c_iflag & INPCK)
                port->read_status_mask |= RXSTAT_FRAME | RXSTAT_PARITY;
 
+       tty_encode_baud_rate(tty,  baud, baud);
+
        /*
         * Which character status flags should we ignore?
         */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to