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

2015-07-23 Thread Jingju Hou
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 platform_device *pdev) { struct sdhci_pxa_platdata *pdata = pdev->dev.plat

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

2015-07-23 Thread Ulf Hansson
On 23 July 2015 at 11:56, Jingju Hou wrote: > From: Jingju Hou > > 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 plat

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

2015-07-23 Thread Jingju Hou
From: Jingju Hou 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 platform_device *pdev) { struct sdhci_pxa_platdata *pdat

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

2015-07-23 Thread Ulf Hansson
On 23 July 2015 at 06:42, Jingju Hou wrote: > From: Jingju Hou > > 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 plat

Re: [PATCH V2 00/11] mmc: sdhci-esdhci-imx: fix cd/wp regression

2015-07-23 Thread Ulf Hansson
+Johan Derycke On 22 July 2015 at 14:52, Dong Aisheng wrote: > This is a rebase version of former two patch series: > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-June/351167.html > http://www.spinics.net/lists/arm-kernel/msg426156.html > > No other changes. > > Commit 8d86e4f mmc: