Searched hist:"854 f9a71" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/mmc/ |
H A D | mmc-uclass.c | 854f9a71 Sun Apr 23 21:02:10 CDT 2017 Simon Glass <sjg@chromium.org> dm: mmc: Rewrite mmc_blk_probe() This function is called when the MMC block device is being probed. There is a recursive call in this function since find_mmc_device() itself can cause the MMC device to be probed. Admittedly the MMC device should already be probed, since we would not be probing its child otherwise, but the current code is unnecessarily convoluted. Rewrite this to access the MMC structure directly. Signed-off-by: Simon Glass <sjg@chromium.org>
|