Skip to content
Snippets Groups Projects
Commit 85051474 authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Peng Fan
Browse files

mmc: msm_sdhci: Use mmc_of_parse for setting host_caps


Since the introduction of 'get_cd' callback in sdhci core,
dragonboard410c's MMC interface is broken. It turns out that 'get_cd'
callback checks for the host_caps for validating the chip select. And
since the msm_sdhci driver is not parsing the host_caps from DT, not
all of the cababilities are parsed properly. This results in the MMC
interfaces to be broken.

Hence, fix this by adding a call to 'mmc_of_parse' during driver probe.

Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tested-by: default avatarAníbal Limón <anibal.limon@linaro.org>
Reviewed-By: default avatarRamon Fried <rfried.dev@gmail.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 00e5fda0
No related branches found
No related tags found
No related merge requests found
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