mmc: init mmc block devices on probe
authorFiach Antaw <fiach.antaw@uqconnect.edu.au>
Wed, 25 Jan 2017 09:00:24 +0000 (19:00 +1000)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 9 Feb 2017 11:37:06 +0000 (20:37 +0900)
commita0269bb6e891c6c3b984a2f3d6a12c07e244484a
tree8fdca4cf58f9a8018e1cbcf613a1c89039e9c083
parent6aca17c9b7e8d311c86d4cf54daef65bdf68ef73
mmc: init mmc block devices on probe

MMC devices accessed exclusively via the driver model were not
being initialized before being exposed as block devices, causing
issues in scenarios where the MMC device is first accessed via the
uclass block interface.

Signed-off-by: Fiach Antaw <fiach.antaw@uqconnect.edu.au>
drivers/mmc/mmc-uclass.c