Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2ba30eedec37e2f65babf4ea54233f98afbe0871
Commit:     2ba30eedec37e2f65babf4ea54233f98afbe0871
Parent:     7806cdb40fd562e5dcc07321579b62a5dc7cd95c
Author:     Nicolas Pitre <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 15 13:27:29 2007 -0400
Committer:  Pierre Ossman <[EMAIL PROTECTED]>
CommitDate: Sun Sep 23 21:24:48 2007 +0200

    sdio: add default c_ispeed/c_ospeed values to sdio_uart driver
    
    Note that the default baudrate is 4800 instead of 9600 as a convenience
    because that's what GPS devices want which is still the main use for
    this driver.
    
    Signed-off-by: Nicolas Pitre <[EMAIL PROTECTED]>
    Signed-off-by: Pierre Ossman <[EMAIL PROTECTED]>
---
 drivers/mmc/card/sdio_uart.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/card/sdio_uart.c b/drivers/mmc/card/sdio_uart.c
index 190120d..6061002 100644
--- a/drivers/mmc/card/sdio_uart.c
+++ b/drivers/mmc/card/sdio_uart.c
@@ -1106,6 +1106,8 @@ static int __init sdio_uart_init(void)
        tty_drv->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;
        tty_drv->init_termios = tty_std_termios;
        tty_drv->init_termios.c_cflag = B4800 | CS8 | CREAD | HUPCL | CLOCAL;
+       tty_drv->init_termios.c_ispeed = 4800;
+       tty_drv->init_termios.c_ospeed = 4800;
        tty_set_operations(tty_drv, &sdio_uart_ops);
 
        ret = tty_register_driver(tty_drv);
-
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