diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mxcmmc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 786448a10f15..c174c6a0d224 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c | |||
@@ -1067,7 +1067,9 @@ static int mxcmci_probe(struct platform_device *pdev) | |||
1067 | goto out_release_mem; | 1067 | goto out_release_mem; |
1068 | } | 1068 | } |
1069 | 1069 | ||
1070 | mmc_of_parse(mmc); | 1070 | ret = mmc_of_parse(mmc); |
1071 | if (ret) | ||
1072 | goto out_free; | ||
1071 | mmc->ops = &mxcmci_ops; | 1073 | mmc->ops = &mxcmci_ops; |
1072 | 1074 | ||
1073 | /* For devicetree parsing, the bus width is read from devicetree */ | 1075 | /* For devicetree parsing, the bus width is read from devicetree */ |