]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 24 Feb 2019 12:00:53 +0000 (13:00 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 25 Mar 2019 15:47:32 +0000 (10:47 -0500)
commitf16a32da39d6dfa77a6c359ed7bd7b4dd58d0dd9
treeea9d097440d9f94b979d5473533d341aaa581d42
parenta04b85185c9bcd57c4213629bd4fe792b86768d5
serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart

BugLink: https://bugs.launchpad.net/bugs/1821607
commit f4817843e39ce78aace0195a57d4e8500a65a898 upstream.

There are two other drivers that bind to mrvl,mmp-uart and both of them
assume register shift of 2 bits. There are device trees that lack the
property and rely on that assumption.

If this driver wins the race to bind to those devices, it should behave
the same as the older deprecated driver.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/tty/serial/8250/8250_of.c