Re: [PATCH 1/4] mmc: mediatek: Fix CMD6 timeout issue

2017-01-03 Thread Yong Mao
On Thu, 2016-12-01 at 10:51 +0100, Ulf Hansson wrote: > On 8 November 2016 at 07:08, Yong Mao wrote: > > From: yong mao > > > > When initializing EMMC, after switch to HS400, > > it will issue CMD6 to change ext_csd, if first CMD6 got CRC > > error, the repeat CMD6 may get timeout, that's > > bec

Re: [PATCH 1/4] mmc: mediatek: Fix CMD6 timeout issue

2016-12-01 Thread Ulf Hansson
On 8 November 2016 at 07:08, Yong Mao wrote: > From: yong mao > > When initializing EMMC, after switch to HS400, > it will issue CMD6 to change ext_csd, if first CMD6 got CRC > error, the repeat CMD6 may get timeout, that's > because SDCBSY was cleared by msdc_reset_hw() Sorry for the delay! We

[PATCH 1/4] mmc: mediatek: Fix CMD6 timeout issue

2016-11-07 Thread Yong Mao
From: yong mao When initializing EMMC, after switch to HS400, it will issue CMD6 to change ext_csd, if first CMD6 got CRC error, the repeat CMD6 may get timeout, that's because SDCBSY was cleared by msdc_reset_hw() Signed-off-by: Yong Mao Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-