Re: [PATCH] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-09 Thread addy ke
On 2015/2/9 15:04, Jaehoon Chung wrote: > On 02/09/2015 03:56 PM, Addy wrote: >> >> >> On 2015.02.09 12:51, Ulf Hansson wrote: >>> On 5 February 2015 at 12:13, Addy Ke wrote: Because of some uncertain factors, such as worse card or worse hardware, DAT[3:0](the data lines) may be pulled

Re: [PATCH] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-08 Thread Jaehoon Chung
On 02/09/2015 03:56 PM, Addy wrote: > > > On 2015.02.09 12:51, Ulf Hansson wrote: >> On 5 February 2015 at 12:13, Addy Ke wrote: >>> Because of some uncertain factors, such as worse card or worse hardware, >>> DAT[3:0](the data lines) may be pulled down by card, and mmc controller >>> will be in

Re: [PATCH] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-08 Thread Addy
On 2015.02.09 12:51, Ulf Hansson wrote: On 5 February 2015 at 12:13, Addy Ke wrote: Because of some uncertain factors, such as worse card or worse hardware, DAT[3:0](the data lines) may be pulled down by card, and mmc controller will be in busy state. This should not happend when mmc controll

Re: [PATCH] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-08 Thread Ulf Hansson
On 5 February 2015 at 12:13, Addy Ke wrote: > > Because of some uncertain factors, such as worse card or worse hardware, > DAT[3:0](the data lines) may be pulled down by card, and mmc controller > will be in busy state. This should not happend when mmc controller > send command to update card cloc

[PATCH] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-05 Thread Addy Ke
Because of some uncertain factors, such as worse card or worse hardware, DAT[3:0](the data lines) may be pulled down by card, and mmc controller will be in busy state. This should not happend when mmc controller send command to update card clocks. If this happends, mci_send_cmd will be failed and w