On Wed, 8 Nov 2017 11:05:46 +0800 "Ji-Ze Hong (Peter Hong)" <hpe...@gmail.com> wrote:
> The 8250_fintek.c is support the Fintek F81866/F81216 with dynamic clock. > But It'll generate "division by zero" exception and crash in > fintek_8250_set_termios() with baud rate 0 on baudrate_table[i] % baud. 0 means "hang up", so this looks good providing it leaves the device in a sane state. Reviewed-by: Alan Cox <a...@linux.intel.com>