MLK-20107 fspi: Keep the module enabled after probe
authorYe Li <ye.li@nxp.com>
Thu, 25 Oct 2018 08:37:52 +0000 (01:37 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:39:09 +0000 (02:39 -0700)
commitd7dd046251ea22b32f0714e9e23a4d4039e76c99
tree3b7bec3b9344389506c697af72201267964cba48
parent77f25be0d6ddea71fc28ecc08c8f5477054208d0
MLK-20107 fspi: Keep the module enabled after probe

In flexspi driver, each sf command will disable the module in release bus
function. So reading from flexspi memory-map address using "md" command
can't work. When iMX8MM kicks M4 image to run flexspi NOR XIP,
this causes problem.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e92d831e5b1e149b23aeb1774c57d076ac246b1e)
drivers/spi/fsl_fspi.c