spi: spi-imx: add peripheral_config/peripheral_size for config
authorRobin Gong <yibin.gong@nxp.com>
Tue, 23 Mar 2021 17:12:08 +0000 (01:12 +0800)
committerRobin Gong <yibin.gong@nxp.com>
Wed, 21 Apr 2021 17:30:26 +0000 (01:30 +0800)
commitc5cb415f8646d8ac32a2ae7764ff8d5a523314cb
tree4dfd60ba6b33dae40265b81c06da498e83e49830
parent5e66bdb4a18a538e8011585716675e3180f52435
spi: spi-imx: add peripheral_config/peripheral_size for config

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

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
(cherry picked from commit 77e7980fb495193019bf74639ef9198045fb6045)
drivers/spi/spi-imx.c