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

2013-04-24 Thread Jaehoon Chung
On 04/24/2013 12:05 PM, Joonyoung Shim wrote: > 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 IDMA

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

2013-04-24 Thread Laurent Pinchart
Hi Guennadi, Thanks for the patch. On Tuesday 23 April 2013 09:29:44 Guennadi Liakhovetski wrote: > 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 tm

[PATCH v2] mmc: mmci: Allow MMCI to request channels with information acquired from DT

2013-04-24 Thread Lee Jones
Currently, if DMA information isn't passed from platform data, then DMA will not be used. This patch allows DMA information obtained though Device Tree to be used as well. Cc: Russell King Cc: Chris Ball Cc: linux-mmc@vger.kernel.org Signed-off-by: Lee Jones diff --git a/drivers/mmc/host/mmci.

SD Lock/Unlock

2013-04-24 Thread Alan Cooper
Has there been any discussion of adding support for lock/unlock functionality (CMD42) for SD? Thanks Al -- 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

Re: [RESEND PATCH V3 0/4] mmc: Use runtime pm for blkdevice

2013-04-24 Thread Ulf Hansson
On 17 April 2013 13:49, Ulf Hansson wrote: > From: Ulf Hansson > > SDIO has been using runtime pm for a while to handle runtime power save > operations. This patchset is enabling the option to make the sd/mmc > blockdevices to use runtime pm as well. > > The runtime pm implementation for the bloc

[PATCH v1] mmc-utils: adding support for Android compilation

2013-04-24 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- Android.mk | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 Android.mk diff --git a/Android.mk b/Android.mk new file mode 100644 index 000..7c8cce4 --- /dev/null +++ b/Android.mk @@ -0,0 +1,11 @@ +LOCAL_PATH:= $(call my-

[PATCH] mmc: mmci: Allow MMCI to request channels with information acquired from DT

2013-04-24 Thread Lee Jones
Currently, if DMA information isn't passed from platform data, then DMA will not be used. This patch allows DMA information obtained though Device Tree to be used as well. Cc: Russell King Cc: Chris Ball Cc: linux-mmc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/mmc/host/mmci.c | 43

[PATCH v2] mmc: tmio: reset the controller after power-up

2013-04-24 Thread Guennadi Liakhovetski
This fixes two reported problems: 1. after a system resume the controller isn't functioning until a command runs on a timeout and a controller reset is performed. 2. if a card is ejected during a running write operation, its re-insertion isn't detected. Reported-by: Nguyen Viet Dung Reporte

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

2013-04-24 Thread Johan Rudholm
Hi, 2013/4/23 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