tty: serial: meson: Move request the register region to probe
authorYu Tu <yu.tu@amlogic.com>
Fri, 25 Feb 2022 07:39:17 +0000 (15:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Feb 2022 09:03:20 +0000 (10:03 +0100)
commit841f913e770f3cfb69023f00557e37cb23230861
treeb492e52aa0711a53cdbc1700aca95bee73b53eeb
parentf166d19f9e82431e121213371ce2eec5f8cf39be
tty: serial: meson: Move request the register region to probe

This simplifies resetting the UART controller during probe
and will make it easier to integrate the common clock code
which will require the registers at probe time as well.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
Link: https://lore.kernel.org/r/20220225073922.3947-2-yu.tu@amlogic.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/meson_uart.c