Unverified Commit 589aaab5 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!14190 Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K"

parents 84b74270 b3f4783c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2952,8 +2952,8 @@ static int dw_mci_init_slot(struct dw_mci *host)
	if (host->use_dma == TRANS_MODE_IDMAC) {
		mmc->max_segs = host->ring_size;
		mmc->max_blk_size = 65535;
		mmc->max_req_size = DW_MCI_DESC_DATA_LENGTH * host->ring_size;
		mmc->max_seg_size = mmc->max_req_size;
		mmc->max_seg_size = 0x1000;
		mmc->max_req_size = mmc->max_seg_size * host->ring_size;
		mmc->max_blk_count = mmc->max_req_size / 512;
	} else if (host->use_dma == TRANS_MODE_EDMAC) {
		mmc->max_segs = 64;