Re: [RFC/PATCH] mmc: core: Add support for idle time BKOPs

2012-08-30 Thread Jaehoon Chung
On 08/05/2012 10:08 PM, Maya Erez wrote: When the mmcqd thread is idle, a delayed work is created to check the need for BKOPs. The time to start the delayed work is calculated based on the host controller suspend timeout, in case it was set. If not, a default time is used. If BKOPs is

Re: [PATCH v5 4/9] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-08-30 Thread Jaehoon Chung
Hi Thomas, On 08/29/2012 07:48 PM, Thomas Abraham wrote: Some platforms allow for clock gating and control of bus interface unit clock and card interface unit clock. Add support for clock lookup of optional biu and ciu clocks for clock gating and clock speed determination. Signed-off-by:

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Sekhar Nori
Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter mpor...@ti.com I tried testing this patch on my OMAP-L138 EVM, but SPI fails to initialize after applying the patch.

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Matt Porter
On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter mpor...@ti.com I tried testing this patch on my

Re: [PATCH] mmc: sdhci-pci: Use module_pci_driver

2012-08-30 Thread Chris Ball
Hi, On Mon, Aug 27 2012, Sachin Kamat wrote: module_pci_driver makes the code simpler by eliminating module_init and module_exit calls. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/mmc/host/sdhci-pci.c | 19 +-- 1 files changed, 1 insertions(+), 18

Re: [PATCH] mmc: dw_mmc-pci: Use module_pci_driver

2012-08-30 Thread Chris Ball
Hi, On Mon, Aug 27 2012, Sachin Kamat wrote: module_pci_driver makes the code simpler by eliminating module_init and module_exit calls. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/mmc/host/dw_mmc-pci.c | 13 + 1 files changed, 1 insertions(+), 12

Re: [PATCH] mmc: via-sdmmc: Use module_pci_driver

2012-08-30 Thread Chris Ball
Hi, On Mon, Aug 27 2012, Harald Welte wrote: Hi Sachin, On Mon, Aug 27, 2012 at 12:12:11PM +0530, Sachin Kamat wrote: module_pci_driver makes the code simpler by eliminating module_init and module_exit calls. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Harald Welte

Re: [PATCH] mmc: core: Quieten could not set regulator OCR error.

2012-08-30 Thread Mark Brown
On Wed, Aug 29, 2012 at 09:08:47AM -0400, Chris Ball wrote: On Wed, Aug 29 2012, Ulf Hansson wrote: On 28 August 2012 01:33, Chris Ball c...@laptop.org wrote: Some distributions build with CONFIG_REGULATOR_DUMMY=y -- this makes regulator setup succeed harmlessly, but then trying to set the

Re: [PATCH] mmc: core: Quieten could not set regulator OCR error.

2012-08-30 Thread Chris Ball
Hi, On Thu, Aug 30 2012, Mark Brown wrote: Looks like regulator_desc-name should be dummy, but I think it would be an API violation for us to start caring about that. Mark, would you be interested in offering an regulator_is_dummy(supply) function so that we can limit our error messages to

Re: [PATCH] mmc: core: Quieten could not set regulator OCR error.

2012-08-30 Thread Mark Brown
On Thu, Aug 30, 2012 at 01:25:58PM -0400, Chris Ball wrote: On Thu, Aug 30 2012, Mark Brown wrote: Conversely there is nothing stopping other regulator drivers having similar properties to the dummy driver, or constraints stopping them implementing things. If the MMC framework wants to

[PATCH v2 1/2] mmc: atmel-mci: DMA can be used with other controller

2012-08-30 Thread Hein Tibosch
After the latest changes to atmel-mci, it could not be used with DMA on the AVR32 platform. This patch will allow to use DMA again and it will avoid access to MCI register ATMCI_DMA. v2: Even if the IP version is lower than v3xx and doesn't have the DMA configuration register, DMA transfers can

[PATCH v2 2/2] mmc: atmel-mci: AP700x PDC is not connected to MCI

2012-08-30 Thread Hein Tibosch
Earlier, atmel-mci was adapted to make use of the peripheral DMA controller (PDC), in case normal DMA wouldn't work. ( http://comments.gmane.org/gmane.linux.kernel.mmc/9403 ) This works OK on ARM platforms (AT91), but it broke the driver for AVR32, the AP700x. Although the MCI has PDC support, the

Re: [PATCH v2] avr32: at32ap700x: set DMA slave properties for MCI dw_dmac

2012-08-30 Thread Hans-Christian Egtvedt
Around Fri 31 Aug 2012 01:07:13 +0800 or thereabout, Hein Tibosch wrote: The MCI makes use of the dw_dmac driver when DMA is being used. Due to recent changes the driver was broken because: - the SMS field in the CTLL register received the wrong value 0 - a patch in dw_dmac

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Vinod Koul
On Thu, 2012-08-30 at 10:43 -0400, Matt Porter wrote: On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by:

Re: [PATCH] mmc: sh-mmcif: avoid Oops on spurious interrupts

2012-08-30 Thread Tetsuyuki Kobayashi
Hello Guennadi (2012/08/22 15:49), Guennadi Liakhovetski wrote: On some systems, e.g., kzm9g, MMCIF interfaces can produce spurious interrupts without any active request. To prevent the Oops, that results in such cases, don't dereference the mmc request pointer until we make sure, that we are