Eddie Huang 2a768264ee tty: serial: Fix mediatek UART driver setting baudrate issue
In mtk8250_set_termios function, calculating quot value can not be zero,
otherwise, using DIV_ROUND_CLOSEST(port->uartclk, quot * baud) will fail due to
divisor is zero.

Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-06 14:57:25 -08:00
..
2013-01-15 22:30:15 -08:00
2013-12-08 16:56:05 -08:00
2014-11-05 20:18:30 -08:00
2014-11-05 20:18:30 -08:00