mmc_test: fix memory allocation segment limits
authorAdrian Hunter <adrian.hunter@nokia.com>
Thu, 23 Sep 2010 11:51:29 +0000 (14:51 +0300)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:13 +0000 (21:11 +0800)
commit3d203be833068c0f633878743d0c08d6acd24b58
tree9871b437744ea824bad935969859e432754b21e5
parent130067ed15f6e8a1209898646878f5bc0a17d3dd
mmc_test: fix memory allocation segment limits

Correctly allocate memory to meet the host controller
driver's maximum segment size and count limits.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/mmc_test.c