projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8481b02
)
mmc: rk_sdmmc: increase max_blk_count for edmac
author
lintao
<lintao@rock-chips.com>
Fri, 1 Aug 2014 08:55:15 +0000
(16:55 +0800)
committer
lintao
<lintao@rock-chips.com>
Fri, 1 Aug 2014 09:02:51 +0000
(17:02 +0800)
drivers/mmc/host/rk_sdmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/rk_sdmmc.c
b/drivers/mmc/host/rk_sdmmc.c
index 3a127c6245345169c6ab5d0fe616f80298496b44..0bdaf81e81f06f1c008b891bd061be7972904718 100755
(executable)
--- a/
drivers/mmc/host/rk_sdmmc.c
+++ b/
drivers/mmc/host/rk_sdmmc.c
@@
-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;
}