]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
serial: fsl_lpuart: don't modify arbitrary data on lpuart32
authorMichael Walle <michael@walle.cc>
Wed, 12 May 2021 14:12:47 +0000 (16:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:08:26 +0000 (16:08 +0200)
commitccf08fd1204bcb5311cc10aea037c71c6e74720a
tree5ff1979cfb9eb1bfca740eea4def8d41e5f9cf80
parentfcb10ee27fb91b25b68d7745db9817ecea9f1038
serial: fsl_lpuart: don't modify arbitrary data on lpuart32

lpuart_rx_dma_startup() is used for both the 8 bit and the 32 bit
version of the LPUART. Modify the UARTCR only for the 8 bit version.

Fixes: f4eef224a09f ("serial: fsl_lpuart: add sysrq support when using dma")
Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210512141255.18277-2-michael@walle.cc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c