cmd: mmc: Invalidate MMC block cache after init
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 3 Jan 2019 21:09:44 +0000 (22:09 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:43 +0000 (15:28 -0500)
commit1d044d323d1eaa5731028a2d288bf53c1151e1fc
treef62054dcb933c6001abdc92695cbeaae6b041872
parentd2a083696e403aa34288638fcef943deedaf1492
cmd: mmc: Invalidate MMC block cache after init

Make sure the block cache is cleared for the MMC device after it was
reinitialized to avoid having any stale data in the cache, like e.g.
partition tables or such.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
cmd/mmc.c