MLK-21879-1 fsl_qspi: increase timeout of is_controller_busy
authorYe Li <ye.li@nxp.com>
Tue, 28 May 2019 07:42:25 +0000 (00:42 -0700)
committerYe Li <ye.li@nxp.com>
Tue, 28 May 2019 13:55:51 +0000 (06:55 -0700)
commitd0a917b88ac7dc2ae082377e9361b41c9ecee16b
tree3c0513c396c84b44baa8abdbb24833c9afcb17e7
parentda274253221e84f70932acf956e2bbf6f4046ca8
MLK-21879-1 fsl_qspi: increase timeout of is_controller_busy

The original codes uses 100ms timeout, but the new is_controller_busy only
try 5 times with each only 1us delay.
When the qspi clock is slower, the controller may need longer time in busy.
On mx7ulp, we meet problem that timeout always happen. So change the codes
to 100ms timeout

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/spi/fsl_qspi.c