]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
MIPS: ath79: fix ar933x uart parity mode
authorStefan Hellermann <stefan@the2masters.de>
Mon, 17 Jun 2019 13:43:59 +0000 (15:43 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit532d0832cc4e73f4e7934bdfed0e50ecd80e43b0
tree4d9f9e9000818d6c183ef500ac2f95c9fe945d97
parent0aef770c469496201bc1dc0a3f830997c3f73fdb
MIPS: ath79: fix ar933x uart parity mode

BugLink: https://bugs.launchpad.net/bugs/1839036
[ Upstream commit db13a5ba2732755cf13320f3987b77cf2a71e790 ]

While trying to get the uart with parity working I found setting even
parity enabled odd parity insted. Fix the register settings to match
the datasheet of AR9331.

A similar patch was created by 8devices, but not sent upstream.
https://github.com/8devices/openwrt-8devices/commit/77c5586ade3bb72cda010afad3f209ed0c98ea7c

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/mips/include/asm/mach-ath79/ar933x_uart.h