aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2009-12-23 22:13:05 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:43:58 -0600
commit40def6c41b80179b61be381980b342ac3deea83b (patch)
tree30760e00862f39ec8a26a6e499f4ec5efc7da634 /drivers/mmc
parent73e4189210c737789228c476e5ecb3003d2c18b7 (diff)
mmc-u8500: disable sg for interrupt mode
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/mmc-u8500.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/mmc-u8500.c b/drivers/mmc/host/mmc-u8500.c
index bddfe0971d5..d2856b30882 100644
--- a/drivers/mmc/host/mmc-u8500.c
+++ b/drivers/mmc/host/mmc-u8500.c
@@ -1486,8 +1486,8 @@ static int u8500_mmci_probe(struct amba_device *dev, void *id)
mmc->max_hw_segs = 1;
mmc->max_phys_segs = 1;
} else {
- mmc->max_hw_segs = NR_SG;
- mmc->max_phys_segs = NR_SG;
+ mmc->max_hw_segs = 1;
+ mmc->max_phys_segs = 1;
}
mmc->ocr_avail = OCR_AVAIL;
/* XXX No errors in Tx/Rx but writes garbage data with