commit | 643e31bbb014d317739599958f0731248a820bdd | [log] [tgz] |
---|---|---|
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | Wed Sep 09 16:54:02 2020 -0500 |
committer | Patrick Delaunay <patrick.delaunay@st.com> | Wed Oct 21 18:11:56 2020 +0200 |
tree | a6c3879e782615d14c20969530a1f6244dd5865e | |
parent | d6ff68daeecd07946a7b733cf6b18c241d364171 [diff] |
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: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>