RE: [PATCH v4] mmc: core: Fix the HPI execution sequence

2012-06-21 Thread Subhash Jadavani
ail.com; > jh80.ch...@samsung.com; alex.lemb...@sandisk.com; > suba...@codeaurora.org; Venkatraman S; Kostya > Subject: [PATCH v4] mmc: core: Fix the HPI execution sequence > > mmc_execute_hpi should send the HPI command only once, and only if the > card is in PRG state. >

[PATCH v4] mmc: core: Fix the HPI execution sequence

2012-06-21 Thread Venkatraman S
mmc_execute_hpi should send the HPI command only once, and only if the card is in PRG state. According to eMMC spec, the command's completion time is not dependent on OUT_OF_INTERRUPT_TIME. Only the transition out of PRG STATE is guarded by OUT_OF_INTERRUPT_TIME - which is defined to begin at the