RE: [PATCH v3 2/2] mmc: sdhci-s3c: add platform data for the second capability

2012-02-09 Thread Kukjin Kim
Chris Ball wrote: Hi, Hi, On Mon, Feb 06 2012, Jaehoon Chung wrote: This patch is added host_caps2 in sdhci-s3c.c It's necessary that use the second capabilities. And removed the duplicated host_caps. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Signed-off-by: Kyungmin

Re: [PATCH v2] mmc: dw_mmc: Fix PIO mode with support of highmem

2012-02-09 Thread Will Newton
On Thu, Feb 9, 2012 at 5:32 AM, Seungwon Jeon tgih@samsung.com wrote: Current PIO mode makes a kernel crash with CONFIG_HIGHMEM. Highmem pages have a NULL from sg_virt(sg). This patch fixes the following problem. Unable to handle kernel NULL pointer dereference at virtual address

Re: [PATCH v3] mmc: dw_mmc: Add support for pre_req and post_req

2012-02-09 Thread Will Newton
On Mon, Feb 6, 2012 at 8:18 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Looks good to me.. Acked-by : Jaehoon Chung jh80.ch...@samsung.com On 02/06/2012 04:55 PM, Seungwon Jeon wrote: This patch implements pre_req and post_req in dw_mmc to support asynchronous mmc request.

Reason for Cmd 9 giving a timeout Error

2012-02-09 Thread Shashidhar Hiremath
Hi ,   I was testing the davinci mmc driver. For some reason, during the enumeration sequence, I keep getting the TIMEOUT interrupt while sending CMD 9. Any idea on what could be the reason ? -- regards, Shashidhar Hiremath -- To unsubscribe from this list: send the line unsubscribe linux-mmc in

[PATCH 1/2] mmc: atmel-mci: don't use dma features when dma is present but there is no chan available

2012-02-09 Thread ludovic . desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Some callbacks are set too early ie we can have dma capabilities but we can't get a dma channel. So wait to get the dma channel before setting callbacks and change logs consequently. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com

[PATCH 2/2] mmc: atmel-mci: fix typo

2012-02-09 Thread ludovic . desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/mmc/host/atmel-mci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

RE: [PATCH v3 0/6] mmc: sdhci-s3c: Rework platform data and add device tree support

2012-02-09 Thread Kukjin Kim
Thomas Abraham wrote: This patchset removes all uses of 'clk_type' member from the platform data of sdhci-s3c driver and adds device tree support for sdhci-s3c driver. In this patchset, all uses of 'clk_type' member from the platform data are removed from the sdhci-s3c driver and platform

[PATCH 04/10 v3] mmc: sh_mobile_sdhi: pass card hotplug GPIO number to TMIO MMC

2012-02-09 Thread Guennadi Liakhovetski
To use TMIO MMC driver ability to interface to the generic MMC GPIO card hotplug detection helper, the SDHI driver has to pass the GPIO number from its own platform data. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/mmc/host/sh_mobile_sdhi.c |3 ++-

[PATCH 02/10 v3] mmc: tmio: calculate the native hotplug condition only once

2012-02-09 Thread Guennadi Liakhovetski
The condition, whether we have to use the native TMIO card hotplug detection interrupt, is rather complex, it is better to only calculate it once and store in the private data. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/mmc/host/tmio_mmc.h |1 +

[PATCH 05/10 v3] ARM: mach-shmobile: convert mackerel to use the generic MMC GPIO hotplug helper

2012-02-09 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- arch/arm/mach-shmobile/board-mackerel.c | 22 ++ 1 files changed, 2 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index

[PATCH 00/10 v3] mmc: tmio/sdhi: hotplug PM

2012-02-09 Thread Guennadi Liakhovetski
This is v3 of a patch series, that uses the recently committed generic GPIO card hotplug handler, fixes minor PM issues, adds some cosmetic clean up. The series applies on top of mmc-next of 09 Feb. 2012. Guennadi Liakhovetski (10): mmc: simplify mmc_cd_gpio_request() by removing two

[PATCH 07/10 v3] mmc: tmio_mmc: power status flag doesn't have to be exposed in platform data

2012-02-09 Thread Guennadi Liakhovetski
The controller power status flag does not have to be accessed from the hot-plug detection code any more, it can now be removed from the platform data and put in the controller private struct. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/mmc/host/tmio_mmc.h |3

[PATCH 09/10 v3] mmc: sh_mobile_sdhi: do not manage PM clocks manually

2012-02-09 Thread Guennadi Liakhovetski
On sh-mobile platforms the MMC clock frequency for the TMIO MMC unit is obtained from the same clock, as the one, that runtime power-manages the controller. The SDHI glue code has to access that clock directly, bypassing the runtime PM framework, to get its frequency, but it shouldn't enable or

[PATCH 08/10 v3] mmc: tmio_mmc: remove unused sdio_irq_enabled flag

2012-02-09 Thread Guennadi Liakhovetski
The sdio_irq_enabled member of struct tmio_mmc_host is a left-over from the previously removed SDIO IRQ workaround. It is no longer needed and can now be removed too. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/mmc/host/tmio_mmc.h |1 -

[PATCH 01/10 v3] mmc: simplify mmc_cd_gpio_request() by removing two parameters

2012-02-09 Thread Guennadi Liakhovetski
Calculate the IRQ number, using gpio_to_irq() and use fixed flags: trigger on both edges. This makes two out of four arguments of the mmc_cd_gpio_request() function redundant. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/mmc/core/cd-gpio.c | 13 +

[PATCH 06/10 v3] ARM: mach-shmobile: convert ag5evm to use the generic MMC GPIO hotplug helper

2012-02-09 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- arch/arm/mach-shmobile/board-ag5evm.c | 22 ++ 1 files changed, 2 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index 7119b87..eb6975c

[PATCH] mmc: atmel-mci: save and restore sdioirq when soft reset is performed

2012-02-09 Thread ludovic . desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Sometimes a software reset is needed. Then some registers are saved and restored but the interrupt mask register is missing. It causes issues with sdio devices whose interrupts are masked after reset. Signed-off-by: Ludovic Desroches

Re: [PATCH] mmc: atmel-mci: save and restore sdioirq when soft reset is performed

2012-02-09 Thread Nicolas Ferre
On 02/09/2012 11:55 AM, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com Sometimes a software reset is needed. Then some registers are saved and restored but the interrupt mask register is missing. It causes issues with sdio devices whose interrupts are