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