Thread (9 messages) 9 messages, 5 authors, 2012-06-20

Re: [PATCH] mmc: sh_mmcif: Support MMC_SLEEP_AWAKE command

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2012-06-20 13:06:25
Also in: linux-mmc

Hi Ulf,

On Wednesday 20 June 2012 13:54:33 Ulf Hansson wrote:
Hi Laurent,

Your issue seem more related to a mmc protocol problem. Likely caused
by a bad patch for eMMC 4.5 poweroff notify. The patch I refer to is:
"mmc: core: Fix PowerOff Notify suspend/resume"

You may try to revert this patch and see if the same problem occurs for you.

We are trying to fix the issue inserted by the above commit in a patch
named: "MMC-4.5 Power OFF Notify Rework", please have a look if you have
the time.
I think the two issues are othorgonal (but please feel free to tell me if 
there's something I'm missing).

The MMCIF controller driver rejects the MMC_SLEEP_AWAKE command 
unconditionally, even though it should be accepted, because it happens to 
share the command number with an SDIO command (SD_IO_SEND_OP_COND) used to 
probe SDIO support. My patch fixes this by accepting the MMC_SLEEP_AWAKE 
command but still rejecting the SD_IO_SEND_OP_COND command.

-- 
Regards,

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help