Re: [PATCH 1/4] mmc: mediatek: Add online-tuning support of EMMC/SD

2015-08-26 Thread Ulf Hansson
On 26 August 2015 at 10:40, Chaotian Jing wrote: > On Tue, 2015-08-25 at 14:07 +0200, Ulf Hansson wrote: >> On 17 August 2015 at 14:01, Chaotian Jing wrote: >> > Hi Ulf, >> > Thanks, please see my comment: >> > On Mon, 2015-08-17 at 13:31 +0200, Ulf Hansson wrote: >> >> On 12 August 2015 at 10:24

Re: [PATCH 1/4] mmc: mediatek: Add online-tuning support of EMMC/SD

2015-08-25 Thread Ulf Hansson
On 17 August 2015 at 14:01, Chaotian Jing wrote: > Hi Ulf, > Thanks, please see my comment: > On Mon, 2015-08-17 at 13:31 +0200, Ulf Hansson wrote: >> On 12 August 2015 at 10:24, Chaotian Jing wrote: >> > Schedule a workqueue to do tuning when CRC error >> > Call mmc_hw_reset to re-init card when

Re: [PATCH 1/4] mmc: mediatek: Add online-tuning support of EMMC/SD

2015-08-17 Thread Ulf Hansson
On 12 August 2015 at 10:24, Chaotian Jing wrote: > Schedule a workqueue to do tuning when CRC error > Call mmc_hw_reset to re-init card when data timeout Thanks to Adrian Hunter, the mmc core already supports re-tuning for the above scenarios through the mmc_retune_*() APIs. SDHCI driver has alr