summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-iproc.c
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2017-05-22 13:09:21 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-05-22 18:01:46 +0200
commit8fb83b142823cdd1f85f78dcf9e861e9033919f9 (patch)
treeb95b866597e850c25967f03c6f6fe687b6f041b9 /drivers/mmc/host/sdhci-iproc.c
parentc2372c20425bd75a5527b3e2204059762190f6ca (diff)
downloadlinux-next-8fb83b142823cdd1f85f78dcf9e861e9033919f9.tar.gz
mmc: cavium: Fix probing race with regulator
If the regulator probing is not yet finished this driver might catch a -EPROBE_DEFER. Returning after this condition did not remove the created platform device. On a repeated call to the probe function the of_platform_device_create fails. Calling of_platform_device_destroy after EPROBE_DEFER resolves this bug. Signed-off-by: Jan Glauber <jglauber@cavium.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-iproc.c')
0 files changed, 0 insertions, 0 deletions