Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-12-02 Thread Wolfram Sang
The timeout value in the host controller should not change once it is set. It s not supposed to change value on reset (for example). Curious -- if you read the value when you are in the busy state before you set it -- what value is there. I checked the timeout value to 0xa (i

Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-12-02 Thread Philip Rakity
@vger.kernel.org; Chris Ball; kyungmin Park; Andrew Morton; m...@console-pimps.org Subject: Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy. Maybe, happen for all sdhci-controllers... My point is: If it is needed for all SDHCI-controllers, we don't need a quirk and can apply

Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-12-01 Thread Jaehoon Chung
for data timeout value when card busy. Maybe, happen for all sdhci-controllers... My point is: If it is needed for all SDHCI-controllers, we don't need a quirk and can apply your code unconditionally. You're right. But i'm not sure, happen for all sdhci-controller. so i send to RFC patch.. I

Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-12-01 Thread Philip Rakity
...@console-pimps.org Subject: Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy. Maybe, happen for all sdhci-controllers... My point is: If it is needed for all SDHCI-controllers, we don't need a quirk and can apply your code unconditionally. You're right. But i'm not sure

Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-11-30 Thread Wolfram Sang
Hi, On Tue, Nov 30, 2010 at 03:13:48PM +0900, Jaehoon Chung wrote: This patch is added quirks for data timeout value. Some card have problem when suspend/resume. CMD6(switch command) to switch the bus to high speed mode and to set the bus width. After resuming, the card was

Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-11-30 Thread Jaehoon Chung
Hi Wolfram. Maybe, happen for all sdhci-controllers... Card is configurable with eMMC spec..But sdhci-controller didn't support that card. So SDHCI controller need to use quriks.. Thanks, Jaehoon Chung Wolfram Sang wrote: Hi, On Tue, Nov 30, 2010 at 03:13:48PM +0900, Jaehoon Chung wrote:

Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-11-30 Thread Jaehoon Chung
Maybe, happen for all sdhci-controllers... My point is: If it is needed for all SDHCI-controllers, we don't need a quirk and can apply your code unconditionally. You're right. But i'm not sure, happen for all sdhci-controller. so i send to RFC patch.. I also hope apply my code

Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-11-30 Thread Jaehoon Chung
:37 AM To: Wolfram Sang Cc: linux-mmc@vger.kernel.org; Chris Ball; kyungmin Park; Andrew Morton; m...@console-pimps.org Subject: Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy. Maybe, happen for all sdhci-controllers... My point is: If it is needed for all SDHCI

[RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-11-29 Thread Jaehoon Chung
This patch is added quirks for data timeout value. Some card have problem when suspend/resume. CMD6(switch command) to switch the bus to high speed mode and to set the bus width. After resuming, the card was initialized...in that time, some card need set a correct timeout value. so we add

RE: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-11-29 Thread Philip Rakity
Park; Andrew Morton; m...@console-pimps.org Subject: [RFC Patch] SDHCI: add quirk for data timeout value when card busy. This patch is added quirks for data timeout value. Some card have problem when suspend/resume. CMD6(switch command) to switch the bus to high speed mode and to set the bus width

Re: [RFC Patch] SDHCI: add quirk for data timeout value when card busy.

2010-11-29 Thread Jaehoon Chung
, November 29, 2010 10:13 PM To: linux-mmc@vger.kernel.org Cc: Chris Ball; kyungmin Park; Andrew Morton; m...@console-pimps.org Subject: [RFC Patch] SDHCI: add quirk for data timeout value when card busy. This patch is added quirks for data timeout value. Some card have problem when suspend