tty: serial: lpuart: fix lpuart32_write usage
authorPeng Fan <peng.fan@nxp.com>
Tue, 29 Sep 2020 09:19:20 +0000 (17:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Sep 2020 12:29:21 +0000 (14:29 +0200)
commit9ea40db477c024dcb87321b7f32bd6ea12130ac2
treebbf2134058294d5c094f98b2554aa8bf70577e04
parentc9ca43d42ed8d5fd635d327a664ed1d8579eb2af
tty: serial: lpuart: fix lpuart32_write usage

The 2nd and 3rd parameter were wrongly used, and cause kernel abort when
doing kgdb debug.

Fixes: 1da17d7cf8e2 ("tty: serial: fsl_lpuart: Use appropriate lpuart32_* I/O funcs")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20200929091920.22612-1-peng.fan@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c