Hi:
I have not seen case (1) and (2) across >20 types of micro SD
cards, and >10 types of Sandisk/Toshiba eMMC chips, so I believe the
2GB condition is ok.
Probing of the OCR bit to chose between byte and sector mode will
also work, which I have tried in a large scope.
Regards,
-Ethan
On W
Anyone interested?
It always takes time to identify a problem with several processes all
named mmcqd there
On Sun, Sep 26, 2010 at 4:34 PM, Ethan Du wrote:
> Usually there are multiple mmc host controllers, rename mmc queue thread
> by host index, so we can easily identify which cont
iting loop in case of error
* should break out from the waiting loop, if card response with error
* should break out from the waiting loop when timeout
These will not help with the card, one more thing to do:
* re-init the card in case of too many errors
Signed-off-by: Ethan Du
---
Changes
Hi
On Tue, Sep 28, 2010 at 2:51 PM, Adrian Hunter wrote:
> On 27/09/10 06:32, Ethan Du wrote:
>>
>> The while loop when handling rw request may become deadloop in
>> case of bad card
>> I've seen mmcqd gets blocked forever after a single error message:
&
iting loop in case of error
* should break out from the waiting loop, if card response with error
* should break out from the waiting loop when timeout
These will not help with the card, one more thing to do:
* re-init the card in case of too many errors
Signed-off-by: Ethan Du
---
driver
Usually there are multiple mmc host controllers, rename mmc queue thread
by host index, so we can easily identify which controller it belongs to
Signed-off-by: Ethan Du
---
drivers/mmc/card/queue.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/card
Card removal not detected by driver?
You should see a line of log if card removal is detected:
card removed
Would you describe how do you detect card removal/insertion on your board?
Regards,
-Ethan
On Thu, Jul 8, 2010 at 6:05 PM, hardik patel wrote:
> I have sd card on board ... During re
If suspend called when kmmcd is doing host->ops->disable,
as kmmcd already increased host->en_dis_recurs to 1, the mmc_host_enable
in suspend function will return directly without increase the nesting_cnt,
which will cause the followed register access carried out to the disabled host.
mmc_suspend_