Re: [PATCH v3] mmc: sdhci-pxav3: fix platform_data is not initialized

2015-07-24 Thread Ulf Hansson
On 24 July 2015 at 03:15, Jingju Hou houji...@marvell.com wrote: pdev-dev.platform_data is not initialized if match is true in function sdhci_pxav3_probe. Just local variable pdata is assigned the return value from function pxav3_get_mmc_pdata(). static int sdhci_pxav3_probe(struct

[GIT PULL] MMC fixes for v.4.2 rc4

2015-07-24 Thread Ulf Hansson
Hi Linus, Here are some mmc fixes intended for v4.2 rc4 and it's based on v4.2-rc3. Details are as usual found in the signed tag. Please pull this in! Note, most of the changes are for the sdhci-esdhc-imx controller, which also required us to modify some related DTS files. Those changes have

Re: [linux-sunxi] Re: [PATCH v2] mmc: sunxi: Don't start commands while the card is busy

2015-07-24 Thread Maxime Ripard
On Mon, Jul 20, 2015 at 05:23:36PM +0200, Hans de Goede wrote: Hi, On 20-07-15 10:00, Maxime Ripard wrote: Hi, On Fri, Jul 10, 2015 at 05:14:44PM +0200, Hans de Goede wrote: Some sdio wifi modules have not been working reliable with the sunxi-mmc host code. This turns out to be caused by

Re: powerpc/corenet: enable eSDHC

2015-07-24 Thread Scott Wood
On Mon, 2015-07-20 at 01:43 -0500, Lu Yangbo-B47093 wrote: OK, thanks. Assuming no similar issues when testing, I'll apply this patch the next time I do a batch of patch application. Any thoughts regarding better error handling? -Scott Do you mean SD test? I just mean that I

[RFC PATCH] mmc: Kconfig: Add dependency on GPIOLIB for Arasan driver

2015-07-24 Thread Michal Simek
The patch mmc: sdhci-of-arasan: Call OF parsing for MMC (sha1: 16b23787fc709fe60c5d2bd05927b1a3da33d4e9) introduce new dependency on GPIOLIB which calls mmc_of_parse() - mmc_gpiod_request_cd() (slot-gpio.c) which calls devm_gpiod_get_index() which returns -ENOSYS. Error log: sdhci-arasan

Re: [PATCH 3/3] mmc: sdhci-of-esdhc: add workaround for T4240 incorrect HOSTVER value

2015-07-24 Thread Scott Wood
On Tue, 2015-07-21 at 15:02 +0200, Ulf Hansson wrote: On 21 July 2015 at 11:45, Yangbo Lu yangbo...@freescale.com wrote: For T4240-R1.0-R2.0, the HOSTVER register has incorrcet vender version value and sdhc spec version value. This will break down the ADMA data transfer. So add workaround

Re: [PATCH 2/3] powerpc/85xx: add 'cpu-rev' property for cpus node

2015-07-24 Thread Scott Wood
On Tue, 2015-07-21 at 17:45 +0800, Yangbo Lu wrote: Add 'cpu-rev' property for cpus node to support getting cpu revision from dts, since it's not good to get cpu revision using powerpc specific function(like SVR_REV()) in common drivers. No. Don't modify the device tree within Linux without a