2.6.39-stable review patch. If anyone has any objections, please let us know.

------------------From: Jiri Slaby <jslaby@suse.cz>

commit c7d7abff40c27f82fe78b1091ab3fad69b2546f9 upstream.

We should not fiddle with speed and cflags in .dtr_rts hook. Actuallywe might not have tty at that moment already.

So move the console cflag copy and speed setup into uart_startup.Actually the speed setup is already there, but we need to call itunconditionally (uart_startup is called from uart_open with hw_init =0).

This means we move uart_change_speed before dtr/rts setup in .dtr_rts.But this should not matter as the setup should be called afteruart_change_speed anyway.Before: After:dtr/rts setup (dtr_rts) uart_change_speed (startup)uart_change_speed (update_termios) dtr/rts setup (dtr_rts)dtr/rts setup (update_termios) dtr/rts setup (update_termios)