Re: [PATCH] mmc: dw_mmc: clear INSTS register when initialize

2013-04-23 Thread Joonyoung Shim
On 04/24/2013 10:34 AM, Seungwon Jeon wrote: > On Tuesday, April 23, 2013, Jaehoon Chung wrote: >> On 04/23/2013 06:57 PM, Seungwon Jeon wrote: >>> Hi, >>> >>> On Thursday, April 18, 2013, Joonyoung Shim wrote: If pending interrupt for IDMAC exists when probe, it will call interrupt handl

RE: [PATCH] mmc: dw_mmc: clear INSTS register when initialize

2013-04-23 Thread Seungwon Jeon
On Tuesday, April 23, 2013, Jaehoon Chung wrote: > On 04/23/2013 06:57 PM, Seungwon Jeon wrote: > > Hi, > > > > On Thursday, April 18, 2013, Joonyoung Shim wrote: > >> If pending interrupt for IDMAC exists when probe, it will call interrupt > >> handler unnecessarily. > >> > >> Signed-off-by: Joony

Re: [PATCH 1/3] mmc: mvsdio: Support inverted CD and WP GPIO lines

2013-04-23 Thread Simon Baatz
Hi Chris, Guennadi, On Mon, Apr 22, 2013 at 05:50:17PM -0400, Chris Ball wrote: > Hi, > > On Mon, Apr 22 2013, Andrew Lunn wrote: > >> Nothing else really jumps out though. Where either of these what you > >> were thinking of? > > > > http://lists.infradead.org/pipermail/linux-arm-kernel/2012-De

[PATCH v2] mmc: core: Fix select power class after resume

2013-04-23 Thread Fredrik Soderstedt
Use the saved values in card->ext_csd when selecting power class. By doing this the power class will be selected even if mmc_init_card is called with oldcard != NULL, which is the case after a suspend/resume. Today ext_csd is NULL if mmc_init_card is called with oldcard != NULL and power class wil

Re: [PATCH] mmc: core: Fix select power class after resume

2013-04-23 Thread Johan Rudholm
Hi, 2013/4/22 Fredrik Soderstedt : > Use the saved values in card->ext_csd when selecting power class. > By doing this the power class will be selected even if mmc_init_card > is called with oldcard != NULL, which is the case after a suspend/resume. > > Today ext_csd is NULL if mmc_init_card is ca

Re: [PATCH] mmc: dw_mmc: clear INSTS register when initialize

2013-04-23 Thread Jaehoon Chung
On 04/23/2013 06:57 PM, Seungwon Jeon wrote: > Hi, > > On Thursday, April 18, 2013, Joonyoung Shim wrote: >> If pending interrupt for IDMAC exists when probe, it will call interrupt >> handler unnecessarily. >> >> Signed-off-by: Joonyoung Shim >> --- >> drivers/mmc/host/dw_mmc.c |3 +++ >> 1

RE: [PATCH -next] mmc: dw_mmc: fix error return code in dw_mci_probe()

2013-04-23 Thread Seungwon Jeon
On Friday, April 19, 2013 , Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return -ENOMEM in alloc workqueue error case instead > of 0, as done elsewhere in this function. > > Signed-off-by: Wei Yongjun Acked-by: Seungwon Jeon -- To unsubscribe from this list: send the line "unsubscribe l

RE: [PATCH] mmc: dw_mmc: clear INSTS register when initialize

2013-04-23 Thread Seungwon Jeon
Hi, On Thursday, April 18, 2013, Joonyoung Shim wrote: > If pending interrupt for IDMAC exists when probe, it will call interrupt > handler unnecessarily. > > Signed-off-by: Joonyoung Shim > --- > drivers/mmc/host/dw_mmc.c |3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/

[PATCH v2] MMC: tmio: fix unbalanced power-on calls with clock-gating enabled

2013-04-23 Thread Guennadi Liakhovetski
With MMC clock gating enabled the MMC core currently calls MMC host driver's .set_ios() method with .power_mode == MMC_POWER_ON and the clock value set either to 0 or to the target rate. The tmio MMC driver then wrongly translates the latter calls to card slot power-on requests, even when the slot