|
@@ -932,6 +932,12 @@ static int mmc_sd_init_card(struct mmc_host *host, u32 ocr,
|
|
|
memcpy(card->raw_cid, cid, sizeof(card->raw_cid));
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
+ * Call the optional HC's init_card function to handle quirks.
|
|
|
+ */
|
|
|
+ if (host->ops->init_card)
|
|
|
+ host->ops->init_card(host, card);
|
|
|
+
|
|
|
/*
|
|
|
* For native busses: get card RCA and quit open drain mode.
|
|
|
*/
|
|
@@ -1271,4 +1277,3 @@ err:
|
|
|
|
|
|
return err;
|
|
|
}
|
|
|
-
|