On Thu, 01 Sep 2011 12:42:08 +0800, Kumar Gala <kumar.g...@freescale.com> wrote:


On Aug 26, 2011, at 2:55 AM, Chunhe Lan wrote:

The mmc_delay() is a wrapper function for mdelay() and msleep().

   o mdelay() -- block the system when busy-waiting.
   o msleep() -- suspend the currently running task to enable CPU
                 to process other tasks, so it is non-blocking
                 regarding the whole system.

When the desired delay time is more than a period of timer interrupt,
just use msleep(). Change mdelay() to mmc_delay() to avoid chewing
CPU when busy wait.

Signed-off-by: Shengzhou Liu <b36...@freescale.com>
Signed-off-by: Chunhe Lan <chunhe....@freescale.com>
Cc: Chris Ball <c...@laptop.org>
---
drivers/mmc/host/sdhci.c |   10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)

It might be good to either merge patch 2/3 & 3/3 or rename them since they have same commit message.

Chris,

Any comments on closing on these patches?


  Hello Chris,

          Do you any comments on these patches ?
          If not, can you apply these patches to mmc-next ?

          Thanks.
         -Jack
- k

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to