Update to 1ace04931c77df9

1. Add 2k300_gongkong board support
This commit is contained in:
maoxiaochuan
2025-02-20 10:02:07 +08:00
parent 00959b6bb2
commit 1c67e978cf
14 changed files with 437 additions and 38 deletions
+7
View File
@@ -1033,6 +1033,10 @@ probe_free_host:
static void ls2k_mci_shutdown(struct platform_device *pdev)
{
struct mmc_host *mmc = platform_get_drvdata(pdev);
struct ls2k_mci_host *host = mmc_priv(mmc);
if (mmc->caps & MMC_CAP_NONREMOVABLE)
return;
if (mmc->card)
mmc->card->state &= ~1;
@@ -1045,6 +1049,9 @@ static void ls2k_mci_remove(struct platform_device *pdev)
struct mmc_host *mmc = platform_get_drvdata(pdev);
struct ls2k_mci_host *host = mmc_priv(mmc);
if (mmc->caps & MMC_CAP_NONREMOVABLE)
return;
ls2k_mci_shutdown(pdev);