[PATCH 4.7 082/184] serial: 8250_mid: fix divide error bug if baud rate is 0

2016-09-22 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 47b34d2ef266e2c283b514d65c8963c2ccd42474 upstream. Since the commit c1a67b48f6a5 ("serial: 8250_pci: replace switch-case by formula

[PATCH 4.7 082/184] serial: 8250_mid: fix divide error bug if baud rate is 0

2016-09-22 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 47b34d2ef266e2c283b514d65c8963c2ccd42474 upstream. Since the commit c1a67b48f6a5 ("serial: 8250_pci: replace switch-case by formula for Intel MID"), the 8250 driver