driver: synosys: Fix SD MMC not initializing correctly
dw_params.mmc_dev_type should be assigned before mmc_init, otherwise SDMMC
initialization will fail as the initialization treats the device as EMMC
instead of SD.

Signed-off-by: Tien Hock, Loh <tien.hock.loh@intel.com>
1 parent cc0dcf4 commit 2baa7270111eb25430e860fdeb0cbd220a958a53
@Tien Hock, Loh Tien Hock, Loh authored on 22 Mar 2019
Showing 1 changed file
View
drivers/synopsys/emmc/dw_mmc.c