Changeset 33453


Ignore:
Timestamp:
2012-09-17T22:30:54+02:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: ar934x_nfc: increase DMA retry count

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c

    r33452 r33453  
    132132#define AR934X_NFC_DMA_READY_TIMEOUT    25 /* msecs */ 
    133133#define AR934X_NFC_DONE_TIMEOUT         1000 
     134#define AR934X_NFC_DMA_RETRIES          20 
    134135 
    135136#define AR934X_NFC_USE_IRQ              true 
     
    466467 
    467468                ar934x_nfc_restart(nfc); 
    468                 if (retries++ < 5) 
     469                if (retries++ < AR934X_NFC_DMA_RETRIES) 
    469470                        goto retry; 
    470471 
Note: See TracChangeset for help on using the changeset viewer.