MLK-18243-14 spi: fspi: init unused LUT to 0
authorPeng Fan <peng.fan@nxp.com>
Wed, 9 May 2018 05:52:20 +0000 (13:52 +0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:31:08 +0000 (02:31 -0700)
commit00955d2815c6cb90a9827237b4ad2cbf00a644d5
treee648556f3bfc2f4f406eb8652323ab5d249d278c
parent8baffb19ec9848bd920a22a528276f8c5816b2bd
MLK-18243-14 spi: fspi: init unused LUT to 0

If not initialize unused LUT to 0, the value is random which might
cause qspi command failure.

On i.MX8QM/QXP, it works ok because ROM inittialize them to 0, but on
i.MX8MM, ROM not initialize them, so let's do it here.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit c4bd49c7b249073415f052fb28cd5a4ad374a318)
(cherry picked from commit bce752cfe43b3378dbd84b64d46f1d1818e0300f)
drivers/spi/fsl_fspi.c