dm: mmc: Avoid probing block devices in find_mmc_device()
authorSimon Glass <sjg@chromium.org>
Sat, 27 May 2017 17:37:19 +0000 (11:37 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 9 Jun 2017 11:25:16 +0000 (20:25 +0900)
commit97525647227df6c00f63fc5ee41ad8d353ab6708
treefa1837e5602677cef24213ef9bfd8fa688afa075
parent01b73fe63078e5bb1d375dc7d66e6f67893d3305
dm: mmc: Avoid probing block devices in find_mmc_device()

We do not need to probe the block device here, so avoid doing so. The MMC
device itself must be active, but the block device can come later.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc-uclass.c