]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sdhci-of-dwcmshc: factor out code for th1520_init()
authorChen Wang <unicorn_wang@outlook.com>
Mon, 5 Aug 2024 09:17:59 +0000 (17:17 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Aug 2024 11:01:49 +0000 (13:01 +0200)
commit76610189b281cad900dafb9320161168e5761c14
tree251115d8111b784f4e4f0f1a887c8fe9af005f72
parent2b857745498fdb341b684aa399b05dfffec35501
mmc: sdhci-of-dwcmshc: factor out code for th1520_init()

Different socs have initialization operations in
the probe process, which are summarized as functions.

This patch first factor out init function for th1520.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Reviewed-by: Drew Fustini <drew@pdp7.com>
Tested-by: Drew Fustini <drew@pdp7.com> # TH1520
Tested-by: Inochi Amaoto <inochiama@outlook.com> # Duo and Huashan Pi
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/23c6a81052a6dd3660d60348731229d60a209b32.1722847198.git.unicorn_wang@outlook.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-dwcmshc.c