Jingju Hou
9cd76049f0
mmc: sdhci-pxav3: fix platform_data is not initialized
...
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.platform_data;
...
if (match) {
ret = mmc_of_parse(host->mmc);
if (ret)
goto err_of_parse;
sdhci_get_of_property(pdev);
pdata = pxav3_get_mmc_pdata(dev);
}
...
}
Signed-off-by: Jingju Hou <houjingj@marvell.com>
Fixes: b650352dd3df("mmc: sdhci-pxa: Add device tree support")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2015-07-24 10:18:39 +02:00
..
2015-07-16 23:47:19 +02:00
2015-07-17 16:39:53 -07:00
2015-07-09 11:20:01 -07:00
2015-07-15 15:36:47 -06:00
2015-06-18 21:00:06 +03:00
2015-06-26 11:54:29 -07:00
2015-07-15 21:46:59 +10:00
2015-07-17 16:39:53 -07:00
2015-07-07 10:44:45 +02:00
2015-07-16 23:47:19 +02:00
2015-07-09 22:59:49 +02:00
2015-07-08 15:14:13 +08:00
2015-07-17 16:39:53 -07:00
2015-07-03 12:10:12 -07:00
2015-07-03 15:20:57 -07:00
2015-07-18 10:27:12 -07:00
2015-07-17 18:18:04 +10:00
2015-06-22 16:23:43 +02:00
2015-07-02 10:25:22 -07:00
2015-07-03 14:39:06 +02:00
2015-07-01 16:15:05 +03:00
2015-07-09 22:25:54 +02:00
2015-07-01 10:49:25 -07:00
2015-07-13 14:19:22 -07:00
2015-07-14 13:20:16 -04:00
2015-07-11 11:16:04 -07:00
2015-07-01 14:44:22 -07:00
2015-07-18 10:27:12 -07:00
2015-06-24 16:49:49 -07:00
2015-07-01 19:09:11 -07:00
2015-06-22 17:59:09 -07:00
2015-07-02 10:36:29 -07:00
2015-07-17 20:53:57 -07:00
2015-07-01 19:09:11 -07:00
2015-07-06 05:33:17 -07:00
2015-06-30 19:44:57 -07:00
2015-07-17 16:39:53 -07:00
2015-07-10 12:16:59 -07:00
2015-07-24 10:18:39 +02:00
2015-07-01 10:49:25 -07:00
2015-07-19 14:12:22 -07:00
2015-06-26 14:51:15 -07:00
2015-07-04 14:09:32 -04:00
2015-06-30 14:30:34 -04:00
2015-07-01 19:40:18 -07:00
2015-07-01 15:19:35 -07:00
2015-07-02 10:25:22 -07:00
2015-06-27 12:44:34 -07:00
2015-07-17 16:39:53 -07:00
2015-07-14 11:02:44 -07:00
2015-07-06 23:52:21 +02:00
2015-07-02 10:42:13 -07:00
2015-06-23 13:32:38 -07:00
2015-06-23 14:08:54 -07:00
2015-07-02 10:25:22 -07:00
2015-06-18 11:44:41 +03:00
2015-07-18 00:42:31 +02:00
2015-07-15 13:12:44 -07:00
2015-07-19 14:18:00 -07:00
2015-07-01 15:19:35 -07:00
2015-07-02 14:40:49 -07:00
2015-06-18 00:19:56 +01:00
2015-07-14 19:34:57 -07:00
2015-07-04 14:13:43 -07:00
2015-07-01 10:49:25 -07:00
2015-07-02 14:40:49 -07:00
2015-07-17 16:39:53 -07:00
2015-06-28 12:32:13 -07:00
2015-07-04 14:13:43 -07:00
2015-07-10 21:44:19 +02:00
2015-07-03 16:02:25 -07:00
2015-07-17 16:39:53 -07:00
2015-07-04 14:13:43 -07:00
2015-06-24 21:24:10 -04:00
2015-06-29 10:34:42 -07:00