]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_dw: Do not use readl/writel before checking port iotype
authorNoam Camus <noamc@ezchip.com>
Sat, 12 Dec 2015 17:18:27 +0000 (19:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:28:23 +0000 (22:28 -0800)
commitc9d624504eafe4498db2d990335983135e89482b
tree25218727ad1e775098077c0a8abaa10e1df0b786
parent180f6d2ea6a2a5cdab81fb2ec97c1a79cf337fdb
serial: 8250_dw: Do not use readl/writel before checking port iotype

Direct call to readl()/writel() is checked against iotype
and in case of UPIO_MEM32BE we use ioread32be()/iowrite32be()
instead of them.

Signed-off-by: Noam Camus <noamc@ezchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c