aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@stericsson.com>2011-02-15 11:56:51 +0100
committerSebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>2011-02-15 15:37:07 +0100
commit88e4aea7e44ec8f1aab73078e13c8c96d2751581 (patch)
tree5264c69fe14b723c620380951e165e554df153d8
parent5f5492a1db2618b21d16fd5a2c85196d43a04f73 (diff)
MMCI: Increase max_segs from 16 to 128u8500-android-2.3_v0.14
A significant increase (10-20%) in performance throughput for USB mass storage is the reason for incrementing the value. By some reason the USB driver allocates buffers which requires a scattergather list to contain a lot more than 16 elements to get optimal performance. This change sets the maximum elements to 128. Change-Id: I5eae6042b0f50e67bf98c15cb358e583d1aa24b8 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16071 Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com> Reviewed-by: Stefan NILSSON9 <stefan.xk.nilsson@stericsson.com>
-rw-r--r--drivers/mmc/host/mmci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h
index 4c9543fb105..61b871a8a5a 100644
--- a/drivers/mmc/host/mmci.h
+++ b/drivers/mmc/host/mmci.h
@@ -146,7 +146,7 @@
(MCI_RXFIFOHALFFULLMASK | MCI_RXDATAAVLBLMASK | \
MCI_TXFIFOHALFEMPTYMASK)
-#define NR_SG 16
+#define NR_SG 128
struct clk;
struct variant_data;