|
@@ -1287,8 +1287,7 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr,
|
|
|
* If cache size is higher than 0, this indicates
|
|
|
* the existence of cache and it can be turned on.
|
|
|
*/
|
|
|
- if ((host->caps2 & MMC_CAP2_CACHE_CTRL) &&
|
|
|
- card->ext_csd.cache_size > 0) {
|
|
|
+ if (card->ext_csd.cache_size > 0) {
|
|
|
err = mmc_switch(card, EXT_CSD_CMD_SET_NORMAL,
|
|
|
EXT_CSD_CACHE_CTRL, 1,
|
|
|
card->ext_csd.generic_cmd6_time);
|