diff options
-rw-r--r-- | drivers/mtd/nand/denali.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 975a89351f97..5f7c8c8b8b67 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c | |||
@@ -211,9 +211,9 @@ static uint16_t denali_nand_reset(struct denali_nand_info *denali) | |||
211 | iowrite32(device_reset_banks[i], | 211 | iowrite32(device_reset_banks[i], |
212 | denali->flash_reg + DEVICE_RESET); | 212 | denali->flash_reg + DEVICE_RESET); |
213 | while (!(ioread32(denali->flash_reg + | 213 | while (!(ioread32(denali->flash_reg + |
214 | intr_status_addresses[i]) & | 214 | intr_status_addresses[i]) & |
215 | (reset_complete[i] | operation_timeout[i]))) | 215 | (reset_complete[i] | operation_timeout[i]))) |
216 | ; | 216 | cpu_relax(); |
217 | if (ioread32(denali->flash_reg + intr_status_addresses[i]) & | 217 | if (ioread32(denali->flash_reg + intr_status_addresses[i]) & |
218 | operation_timeout[i]) | 218 | operation_timeout[i]) |
219 | dev_dbg(&denali->dev->dev, | 219 | dev_dbg(&denali->dev->dev, |