diff options
Diffstat (limited to 'drivers/mtd/chips/cfi_cmdset_0001.c')
-rw-r--r-- | drivers/mtd/chips/cfi_cmdset_0001.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c index 81b7767a665..eb0e30824dd 100644 --- a/drivers/mtd/chips/cfi_cmdset_0001.c +++ b/drivers/mtd/chips/cfi_cmdset_0001.c | |||
@@ -1071,10 +1071,10 @@ static int __xipram xip_wait_for_operation( | |||
1071 | chip->state = newstate; | 1071 | chip->state = newstate; |
1072 | map_write(map, CMD(0xff), adr); | 1072 | map_write(map, CMD(0xff), adr); |
1073 | (void) map_read(map, adr); | 1073 | (void) map_read(map, adr); |
1074 | asm volatile (".rep 8; nop; .endr"); | 1074 | xip_iprefetch(); |
1075 | local_irq_enable(); | 1075 | local_irq_enable(); |
1076 | spin_unlock(chip->mutex); | 1076 | spin_unlock(chip->mutex); |
1077 | asm volatile (".rep 8; nop; .endr"); | 1077 | xip_iprefetch(); |
1078 | cond_resched(); | 1078 | cond_resched(); |
1079 | 1079 | ||
1080 | /* | 1080 | /* |