Re: [PATCH] mmc: atmel-mci: fix mismatched section on atmci_cleanup_slot

2014-09-26 Thread Pramod Gurav
Hi Arnd, On Sat, Sep 27, 2014 at 1:04 AM, Arnd Bergmann wrote: > As of 528bc7808f4e ("mmc: atmel-mci: Release mmc resources on failure in > probe"), > the atmci_probe() function calls atmci_cleanup_slot in the failure path. > > This causes a new warning whenever the driver is built: > > WARNING:

Re: [PATCH v3 11/12] mmc: sunxi: Convert MMC driver to the standard clock phase API

2014-09-26 Thread David Lanzendörfer
Hi Great! Since I didn't see any mistakes from my side it shouldn't be a problem. Because someone has borrowed my UART2USB(FT232)-cable I unfortunately can't test the code for now. If you can verfiy that all the adaptions are working properly on A10/A20 and all the others you my assume my:

[PATCH] mmc: atmel-mci: fix mismatched section on atmci_cleanup_slot

2014-09-26 Thread Arnd Bergmann
As of 528bc7808f4e ("mmc: atmel-mci: Release mmc resources on failure in probe"), the atmci_probe() function calls atmci_cleanup_slot in the failure path. This causes a new warning whenever the driver is built: WARNING: drivers/mmc/host/built-in.o(.init.text+0xa04): Section mismatch in referenc

[PATCH v2] mmc: add Toshiba PCI SD controller driver

2014-09-26 Thread Ondrej Zary
This patch resurrects an old never-finished driver for Toshiba PCI SD controllers found in some older Toshiba laptops (such as Portege R100): 02:0d.0 System peripheral [0880]: Toshiba America Info Systems SD TypA Controller [1179:0805] (rev 05) The code is fixed, cleaned up and successfully test

Re: [PATCH v3 11/12] mmc: sunxi: Convert MMC driver to the standard clock phase API

2014-09-26 Thread Maxime Ripard
On Fri, Sep 26, 2014 at 04:27:10PM +0200, David Lanzendörfer wrote: > Hello > > Now that we have proper support to use the generic phase API in our clock > > driver, switch the MMC driver to use it. > > [...] > > /* determine delays */ > > if (rate <= 40) { > > - oclk_dly = 0;

Re: [PATCH v3 11/12] mmc: sunxi: Convert MMC driver to the standard clock phase API

2014-09-26 Thread David Lanzendörfer
Hello > Now that we have proper support to use the generic phase API in our clock > driver, switch the MMC driver to use it. > [...] > /* determine delays */ > if (rate <= 40) { > - oclk_dly = 0; > - sclk_dly = 7; > + oclk_dly = 180; > +

[PATCH] mmc: davinci: Fix and simplify probe failure path

2014-09-26 Thread Pramod Gurav
The sequence of resource release in probe failure path in this driver was wrong and needed fixes to cleanly unload the driver. This changes does the same by switching to managed resources and fixes return path to release resource in proper sequence. Cc: Chris Ball Cc: Ulf Hansson Cc: linux-mmc@v

Re: [PATCH v3 00/12] clk: sunxi: Improve MMC clocks support

2014-09-26 Thread Maxime Ripard
Hi Mike, On Thu, Sep 25, 2014 at 05:42:18PM -0700, Mike Turquette wrote: > Quoting Maxime Ripard (2014-09-22 04:31:33) > > Mike, > > > > On Thu, Sep 11, 2014 at 10:18:14PM +0200, Maxime Ripard wrote: > > > Hi everyone, > > > > > > Here is an attempt at improving the MMC clock support in the Allw