mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-15 10:00:40 +09:00
mmc: rk_sdmmc: increase max_blk_count for edmac
This commit is contained in:
@@ -3267,7 +3267,7 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id)
|
||||
/* fixup for external dmac setting */
|
||||
mmc->max_segs = 64;
|
||||
mmc->max_blk_size = 65536; /* BLKSIZ is 16 bits */
|
||||
mmc->max_blk_count = 512;
|
||||
mmc->max_blk_count = 65535;
|
||||
mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count;
|
||||
mmc->max_seg_size = mmc->max_req_size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user