Re: [PATCH 2/2] mmc: fix mmc card disappearence on resume on ricoh mmc controllers

2010-06-08 Thread Maxim Levitsky
On Mon, 2010-06-07 at 01:47 -0400, Chris Ball wrote: Hi Maxim, It looks like your editor is set to four-space instead of eight-space tab characters, else you wouldn't be using so many tabs here. Nope, I think indention is right here. the break is inside 'if'

Re: [PATCH 2/2] mmc: fix mmc card disappearence on resume on ricoh mmc controllers

2010-06-06 Thread Philip Langdale
On Mon, 7 Jun 2010 00:28:51 +0300, Maxim Levitsky maximlevit...@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

Re: [PATCH 2/2] mmc: fix mmc card disappearence on resume on ricoh mmc controllers

2010-06-06 Thread Maxim Levitsky
On Mon, 2010-06-07 at 00:23 +0100, Chris Ball wrote: Hi, On Mon, Jun 07, 2010 at 12:28:51AM +0300, Maxim Levitsky wrote: + /* Some controllers (especialy the ricoh mmc controller) delay + card detection on resume (probably since the controller + has to poke the