mmc: rk_sdmmc: increase max_blk_count for edmac
authorlintao <lintao@rock-chips.com>
Fri, 1 Aug 2014 08:55:15 +0000 (16:55 +0800)
committerlintao <lintao@rock-chips.com>
Fri, 1 Aug 2014 09:02:51 +0000 (17:02 +0800)
drivers/mmc/host/rk_sdmmc.c

index 3a127c6245345169c6ab5d0fe616f80298496b44..0bdaf81e81f06f1c008b891bd061be7972904718 100755 (executable)
@@ -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; 
                 }