Skip to content

Commit e17ae3d

Browse files
committed
igaf what volt u support u better off work in 1.8v
1 parent de53cc1 commit e17ae3d

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

drivers/mmc/core/mmc.c

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2360,14 +2360,12 @@ int mmc_attach_mmc(struct mmc_host *host)
23602360
/*
23612361
* Detect and init the card.
23622362
*/
2363-
mmc_init_card(host, rocr, NULL);
2364-
//err = mmc_init_card(host, rocr, NULL);
2363+
err = mmc_init_card(host, rocr, NULL);
23652364
if (err)
23662365
goto err;
23672366

23682367
mmc_release_host(host);
2369-
//err =
2370-
mmc_add_card(host->card);
2368+
err = mmc_add_card(host->card);
23712369
if (err)
23722370
goto remove_card;
23732371

@@ -2379,10 +2377,5 @@ int mmc_attach_mmc(struct mmc_host *host)
23792377
mmc_claim_host(host);
23802378
host->card = NULL;
23812379
err:
2382-
mmc_detach_bus(host);
2383-
2384-
pr_err("%s: error %d whilst initialising MMC card\n",
2385-
mmc_hostname(host), err);
2386-
2387-
return err;
2380+
return 0;
23882381
}

0 commit comments

Comments
 (0)