Skip to content
Snippets Groups Projects
Commit c981d67a authored by Alexandru Gagniuc's avatar Alexandru Gagniuc Committed by Patrick Delaunay
Browse files

mmc: stm32_sdmmc2: Use mmc_of_parse() to read host capabilities


mmc_of_parse() can populate the 'f_max' and 'host_caps' fields of
struct mmc_config from devicetree.
The same logic is duplicated in stm32_sdmmc2_probe(). Use
mmc_of_parse(), which is more generic.

Signed-off-by: default avatarAlexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent f80b8ac6
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