tty: serial: imx: add peripheral_config/peripheral_size for config
authorRobin Gong <yibin.gong@nxp.com>
Tue, 23 Mar 2021 17:02:44 +0000 (01:02 +0800)
committerRobin Gong <yibin.gong@nxp.com>
Wed, 21 Apr 2021 17:30:50 +0000 (01:30 +0800)
commit526af95e45ab5d0c0f1ae8fafc5edf1ee9c4e879
tree9eb2fa9eb5054b05d4f5e8edd57a3fcb3e7ec410
parentc5cb415f8646d8ac32a2ae7764ff8d5a523314cb
tty: serial: imx: add peripheral_config/peripheral_size for config

Add peripheral_config/peripheral_size for sdma, otherwise, the random
value of local variable slave_config may cause unexpected
peripheral_config and make sdma mess up.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Sherry Sun <sherry.sun@nxp.com>
(cherry picked from commit ba33de1c9535416f702fbf8bcbcef17f9cced409)
drivers/tty/serial/imx.c