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>
Thu, 29 Oct 2020 09:08:30 +0000 (10:08 +0100)
commit40254b8d0f8b701edd20c14d9b1bb3cbede2d39b
tree81c212fbf9511ef573af33eff38395e284481de4
parent6a8a92d5770b4fe8370d5c0bf7fa1a43ebb3f3c8
tty: serial: lpuart: fix lpuart32_write usage

commit 9ea40db477c024dcb87321b7f32bd6ea12130ac2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c