diff options
author | Jan Glauber <jglauber@cavium.com> | 2017-05-22 13:09:21 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-05-22 18:01:46 +0200 |
commit | 8fb83b142823cdd1f85f78dcf9e861e9033919f9 (patch) | |
tree | b95b866597e850c25967f03c6f6fe687b6f041b9 /scripts/gdb/linux/utils.py | |
parent | c2372c20425bd75a5527b3e2204059762190f6ca (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions