diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2021-06-09 18:56:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-15 15:02:06 +0300 |
commit | af9a1f61ac331c2f910d9186767d02f8e982c38e (patch) | |
tree | e016f4af8ad2d1c9326471cd6d828e9dd09b380a /drivers/tty/serial/stm32-usart.c | |
parent | 08a84410a04f05c7c1b8e833f552416d8eb9f6fe (diff) | |
download | linux-af9a1f61ac331c2f910d9186767d02f8e982c38e.tar.xz |
serial: tegra-tcu: Reorder channel initialization
Request the RX mailbox only after initializing the UART data
structures. Otherwise it can rarely happen that the receive
callback is called before the UART is ready.
Fixes: 2d908b38d409 ("serial: Add Tegra Combined UART driver")
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Link: https://lore.kernel.org/r/20210609155655.3567545-1-mperttunen@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/stm32-usart.c')
0 files changed, 0 insertions, 0 deletions