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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Feb 2019 11:30:45 +0000 (12:30 +0100)
commitf4817843e39ce78aace0195a57d4e8500a65a898
tree21ee0a5b02b6749e98f8b604d587f1d63fc347be
parentfe9ed6d2483fda55465f32924fb15bce0fac3fac
serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart

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>
drivers/tty/serial/8250/8250_of.c