projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'picoxcell-fixes' of git://github.com/jamieiles/linux-2.6-ji into fixes
[cascardo/linux.git]
/
drivers
/
mmc
/
card
/
mmc_test.c
diff --git
a/drivers/mmc/card/mmc_test.c
b/drivers/mmc/card/mmc_test.c
index
e99bdc1
..
759714e
100644
(file)
--- a/
drivers/mmc/card/mmc_test.c
+++ b/
drivers/mmc/card/mmc_test.c
@@
-1581,6
+1581,7
@@
static int mmc_test_area_init(struct mmc_test_card *test, int erase, int fill)
t->max_segs = test->card->host->max_segs;
t->max_seg_sz = test->card->host->max_seg_size;
+ t->max_seg_sz -= t->max_seg_sz % 512;
t->max_tfr = t->max_sz;
if (t->max_tfr >> 9 > test->card->host->max_blk_count)