]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57873cbbccf0f32d5ab88f9a5f6be1c8c5e0f482
treeb492e52aa0711a53cdbc1700aca95bee73b53eeb
parent85701a89462b66761f48bfa8c2b66dc16af2c42e
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