Skip to content
Commit 2da1d7f2 authored by Yuvaraj CD's avatar Yuvaraj CD Committed by Chris Ball
Browse files

mmc: dw_mmc: enable controller interrupt before calling mmc_start_host



As mmc_start_host is getting called before enabling the dw_mmc controller
interrupt, there is a problem of missing the SDMMC_INT_CMD_DONE for the
very first command sent by the sdio_reset.

This problem occurs only when we disable MMC debugging i.e, MMC_DEBUG=n.
This patch enables the dw_mmc controller interrupt before mmc_start_host.

Signed-off-by: default avatarYuvaraj CD <yuvaraj.cd@samsung.com>
Reviewed-by: default avatarGirish K S <girish.shivananjappa@linaro.org>
Acked-by: default avatarWill Newton <will.newton@imgtec.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 63ef5d8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment