diff options
author | Lukas Wunner <lukas@wunner.de> | 2020-01-16 15:14:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-22 12:22:30 +0300 |
commit | 644d776c7729e7a9cc04ee0587a82fe0d83252f0 (patch) | |
tree | 8363a1510933c0d8508ba57638b4f276470a7248 /net/unix/af_unix.c | |
parent | 8c3cde5dd639afc7a17fb1e78f4579735a1c95e6 (diff) | |
download | linux-644d776c7729e7a9cc04ee0587a82fe0d83252f0.tar.xz |
serial: 8250_bcm2835aux: Use generic remapping code
On probe the bcm2835aux UART driver misreports the register base address
as 0x0:
ttyS0 at MMIO 0x0 (irq = 53, base_baud = 50000000) is a 16550
That's because the driver remaps the registers itself. Take advantage
of the generic remapping code in serial8250_request_std_resource() to
get a message with the correct address and to simplify the driver.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: Martin Sperl <kernel@martin.sperl.org>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Tested-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/7d1a9bdb05090d8e465fd15cd26d6e81538d07f9.1579175223.git.lukas@wunner.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions