diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2008-07-28 18:53:20 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-08-01 13:03:36 -0400 |
commit | 980167b7fb20fb181766218b4771fc7420a7bbb4 (patch) | |
tree | 4be7c1327353ce1f374ae13cbb13eb1786b420cd /drivers/mmc | |
parent | ebd6d357848edb8709dd9bed4b93834d1b4d7044 (diff) |
sdhci: check correct return value
Fix a copy-and-paste error.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 9191aaf2e52c..e3a8133560a2 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -448,7 +448,7 @@ static int sdhci_adma_table_pre(struct sdhci_host *host, | |||
448 | 448 | ||
449 | host->adma_addr = dma_map_single(mmc_dev(host->mmc), | 449 | host->adma_addr = dma_map_single(mmc_dev(host->mmc), |
450 | host->adma_desc, (128 * 2 + 1) * 4, DMA_TO_DEVICE); | 450 | host->adma_desc, (128 * 2 + 1) * 4, DMA_TO_DEVICE); |
451 | if (dma_mapping_error(mmc_dev(host->mmc), host->align_addr)) | 451 | if (dma_mapping_error(mmc_dev(host->mmc), host->adma_addr)) |
452 | goto unmap_entries; | 452 | goto unmap_entries; |
453 | BUG_ON(host->adma_addr & 0x3); | 453 | BUG_ON(host->adma_addr & 0x3); |
454 | 454 | ||