lkml.org 
[lkml]   [2010]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] mmc: fix mmc card disappearence on resume on ricoh mmc controllers
From
Date
On Sun, 2010-06-06 at 19:22 -0400, Philip Langdale wrote:
> On Mon, 7 Jun 2010 00:28:51 +0300, Maxim Levitsky
> <maximlevitsky@gmail.com> wrote:
> > The reason was that it takes time for controller to detect the card.
> > So wait a bit for the card to appear.
> > In worst case scenario, when you suspend the system with mmc card,
> > and actually remove it, the resume will be delayed maximum by 2 seconds
>
> I suspect it's probably sending an SD id command to the card and then that
> has to time out on MMC cards.
>
> Acked-by: Philip Langdale <philipl@overt.org>

Thanks!

Note that I spoke too soon about it being perfect
While mmc card that stays in slot now works fine, a card that is
inserted while system is asleep, is detected, but then controller
becomes confused, so card doesn't work. A reinsert does help though.
Overall I need to work around some unusual delays imposed by controller
due to unusual card detection.
I'll sort that out eventually (and hope not to bring much ugliness to
sdhci{,-pci}.c

I think I update this patch to address both issues.

Best regards,
Maxim Levitsky



\
 
 \ /
  Last update: 2010-06-08 11:01    [W:1.022 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site