[PATCH] mmc: fix runtime PM with -ENOSYS suspend case

2011-07-17 Thread Daniel Drake
From: Ohad Ben-Cohen o...@wizery.com In the case where a driver returns -ENOSYS from its suspend handler to indicate that the device should be powered down over suspend, the remove routine of the driver was not being called, leading to lots of confusion during resume. The problem is that runtime

[PATCH] mmc: print debug messages for runtime PM actions

2011-07-17 Thread Daniel Drake
At http://www.mail-archive.com/linux-mmc@vger.kernel.org/msg08371.html we found and fixed a bug where mmc's runtime power management functions were not being called. We have now also made improvements to the SDIO powerup routine which could possibly mask this kind of issue in future. Add debug

[PATCH] mmc: enable runtime PM by default

2011-07-17 Thread Daniel Drake
Now that we have improved the runtime power management powerup/powerdown code, we believe that MMC_CAP_POWER_OFF_CARD is no longer necessary: runtime PM should now work everywhere. Enable this trivially for a release or two. If no problems are reported, we will follow up with a more extensive

[PATCH] mmc: add myself as a tmio-mmc maintainer

2011-07-17 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- It would be nice if I could get hold of some non-sh-mobile tmio-mmc hardware for regression tests. Until then I'll just do my best not to break those systems, any testing by Ian or any other lucky owners would be as always highly

Re: -ENOSYS suspend-powerdown regression

2011-07-17 Thread Ohad Ben-Cohen
On Fri, Jul 8, 2011 at 6:38 PM, Daniel Drake d...@laptop.org wrote: I tested vanilla and realised that this bug exists there too I'm aware of it - it's caused (indirectly) by another PM core change, which since then was already changed again in 3.1. Btw sorry for not being responsive - I've

[PATCH 1/1] fix card interrupt losing issue on freescale eSDHC

2011-07-17 Thread Tony Lin
apply workaround for imx eSDHC controller to avoid missing card interrupt so that SDIO function is workable Signed-off-by: Tony Lin tony@freescale.com --- drivers/mmc/host/sdhci-esdhc-imx.c | 39 +++ 1 files changed, 30 insertions(+), 9 deletions(-) diff

RE: [PATCH 3/3] eSDHC: fix incorrect default value of the capabilities register on P4080

2011-07-17 Thread Zang Roy-R61911
-Original Message- From: Anton Vorontsov [mailto:avoront...@mvista.com] Sent: Tuesday, July 05, 2011 18:18 PM To: Zang Roy-R61911 Cc: linux-mmc@vger.kernel.org; linuxppc-...@lists.ozlabs.org; akpm@linux- foundation.org Subject: Re: [PATCH 3/3] eSDHC: fix incorrect default value of

RE: Question regarding SDR104 bus speed mode

2011-07-17 Thread Subhash Jadavani
Arindam/Philips, Can you help me with below query? Regards, Subhash -Original Message- From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- ow...@vger.kernel.org] On Behalf Of Subhash Jadavani Sent: Thursday, July 14, 2011 5:09 PM To: linux-mmc@vger.kernel.org;