nand/denali: use cpu_relax() while waiting for hardware interrupt

Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by Chuanxiao Dong and committed by David Woodhouse 628bfd41 f0bc0c77

+2 -2
+2 -2
drivers/mtd/nand/denali.c
··· 211 211 iowrite32(device_reset_banks[i], 212 212 denali->flash_reg + DEVICE_RESET); 213 213 while (!(ioread32(denali->flash_reg + 214 - intr_status_addresses[i]) & 214 + intr_status_addresses[i]) & 215 215 (reset_complete[i] | operation_timeout[i]))) 216 - ; 216 + cpu_relax(); 217 217 if (ioread32(denali->flash_reg + intr_status_addresses[i]) & 218 218 operation_timeout[i]) 219 219 dev_dbg(&denali->dev->dev,