commit | 1c631da459a82f4f82a063f5b4ff339ca5384d11 | [log] [tgz] |
---|---|---|
author | Suresh Gupta <suresh.gupta@nxp.com> | Wed Aug 30 20:06:33 2017 +0530 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Mon Sep 25 12:49:56 2017 +0530 |
tree | 024549b066804b69daccbace8bd733abc1cc78b5 | |
parent | 994266bdff7903279b8e43ddbf220b04a4e1411f [diff] |
spi: fsl_qspi: Add controller busy check before new spi operation It is recommended to check either controller is free to take new spi action. The IP_ACC and AHB_ACC bits indicates that the controller is busy in IP or AHB mode respectively. And the BUSY bit indicates that controller is currently busy handling a transaction to an external flash device Signed-off-by: Suresh Gupta <suresh.gupta@nxp.com> Reviewed-by: Jagan Teki <jagan@openedev.com>