[PATCH] mmc: queue: exclude asynchronous transfer for special request

2012-12-20 Thread Seungwon Jeon
Unlike normal r/w request, special requests(discard, flush) is finished with a one-time issue_fn. Request change to mqrq_prev makes unnecessary call. Signed-off-by: Seungwon Jeon tgih@samsung.com --- drivers/mmc/card/queue.c |8 1 files changed, 8 insertions(+), 0 deletions(-)

[PATCH 1/2] mmc: sdhci: add pm runtime protection

2012-12-20 Thread Kevin Liu
Added pm runtime protection for suspend/resume and add/remove functions. When these functions called, pm runtime may have suspended. Signed-off-by: Jialing Fu j...@marvell.com Signed-off-by: Kevin Liu kl...@marvell.com --- drivers/mmc/host/sdhci.c | 22 ++ 1 files changed,

[PATCH 2/2] mmc: sdhci-pxav3: add pm runtime support

2012-12-20 Thread Kevin Liu
Signed-off-by: Jialing Fu j...@marvell.com Signed-off-by: Kevin Liu kl...@marvell.com --- drivers/mmc/host/sdhci-pxav3.c | 89 ++- 1 files changed, 86 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c

Re: [PATCH] mmc: queue: exclude asynchronous transfer for special request

2012-12-20 Thread Konstantin Dorfman
Hello Jeon, On 12/20/2012 12:27 PM, Seungwon Jeon wrote: Unlike normal r/w request, special requests(discard, flush) is finished with a one-time issue_fn. Request change to mqrq_prev makes unnecessary call. Signed-off-by: Seungwon Jeon tgih@samsung.com --- drivers/mmc/card/queue.c |

Re: [PATCH] mmc:core:if detect mmc card remove,don't wait for req done

2012-12-20 Thread Linus Torvalds
Hi, On Thu, Dec 20, 2012 at 1:32 AM, zhenpeng.q...@tieto.com wrote: I find a bug about mmc/core/core.c, and send you a patch which I fix this bug. In fact, the bug is a low probability of occurrence. Hope you help me to analyze it and discuss with me. I've added

[PATCH] mmc: omap_hsmmc: correct precedence of operators

2012-12-20 Thread Sasha Levin
With the current code, the condition in the if() doesn't make much sense due to precedence of operators. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

Re: [PATCH] mmc: omap_hsmmc: correct precedence of operators

2012-12-20 Thread Felipe Balbi
On Thu, Dec 20, 2012 at 02:11:26PM -0500, Sasha Levin wrote: With the current code, the condition in the if() doesn't make much sense due to precedence of operators. Signed-off-by: Sasha Levin sasha.le...@oracle.com nice catch!!! Acked-by: Felipe Balbi ba...@ti.com ---

Re: omap_hsmmc: SDIO IRQ on AM335x family

2012-12-20 Thread Andreas Fenkart
Hi, On Fri, Nov 30, 2012 at 07:57:35PM +0100, Daniel Mack wrote: On 30.11.2012 18:40, Tony Lindgren wrote: * Andreas Fenkart andreas.fenk...@streamunlimited.com [121130 03:21]: The alternative was to configure dat1 line as a GPIO, while waiting for an IRQ. Then configuring it back as

[PATCH] mmc: omap_hsmmc: Enable SDIO IRQ using a GPIO in idle mode.

2012-12-20 Thread Andreas Fenkart
Without functional clock the omap_hsmmc module can't forward SDIO IRQs to the system. This patch reconfigures dat1 line as a gpio while the fclk is off. And uses SDIO IRQ detection of the module, while fclk is present. Signed-off-by: Andreas Fenkart andreas.fenk...@streamunlimited.com ---

Re: [PATCH] mmc: omap_hsmmc: correct precedence of operators

2012-12-20 Thread Paul Walmsley
(cc Tero) Hi, On Thu, 20 Dec 2012, Sasha Levin wrote: With the current code, the condition in the if() doesn't make much sense due to precedence of operators. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1