]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sdhci-of-dwcmshc: Change to dwcmshc_phy_init for reusing codes
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 31 Jan 2025 02:54:06 +0000 (11:54 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 11 Mar 2025 17:11:52 +0000 (18:11 +0100)
commit4e35c611eed74ad6a127853f7c2f7dec08458bbb
tree9eeb9ee45e911f0bbd65c751ccccdf061c54c243
parent6bc022653d514bd898f23c5f3e48773438e3d5dd
mmc: sdhci-of-dwcmshc: Change to dwcmshc_phy_init for reusing codes

dwcmshc_phy_1_8v_init and dwcmshc_phy_3_3v_init differ only by a few
lines of code. This allow us to reuse code depending on voltage.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250131025406.1753513-1-jh80.chung@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-dwcmshc.c