Skip to content
Commit eef05fd3 authored by André Przywara's avatar André Przywara Committed by Tom Rini
Browse files

mmc: bring back partition init for non-DM MMC drivers

Commit d0851c89

 ("blk: Call part_init() in the post_probe() method")
removed the call to part_init() in mmc.c, as this is done by the DM_MMC
framework.
However Allwinner is (still) relying on a non-DM MMC driver, so we are
now missing the implicit partition init, leading to failing MMC accesses
due to the missing partition information.

Bring the call back just for non-DM MMC driver to fix this regression.

Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarSoeren Moch <smoch@web.de>
parent 3b6989b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment