Searched hist:"8 fb83b14" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/mmc/host/ |
H A D | cavium-octeon.c | 8fb83b14 Mon May 22 06:09:21 CDT 2017 Jan Glauber <jglauber@cavium.com> 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> 8fb83b14 Mon May 22 06:09:21 CDT 2017 Jan Glauber <jglauber@cavium.com> 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>
|
H A D | cavium-thunderx.c | 8fb83b14 Mon May 22 06:09:21 CDT 2017 Jan Glauber <jglauber@cavium.com> 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> 8fb83b14 Mon May 22 06:09:21 CDT 2017 Jan Glauber <jglauber@cavium.com> 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>
|