diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/mmc/host/au1xmmc.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'drivers/mmc/host/au1xmmc.c')
-rw-r--r-- | drivers/mmc/host/au1xmmc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c index c8da5d30a861..ef72e874ca36 100644 --- a/drivers/mmc/host/au1xmmc.c +++ b/drivers/mmc/host/au1xmmc.c | |||
@@ -192,7 +192,7 @@ static inline void SEND_STOP(struct au1xmmc_host *host) | |||
192 | au_writel(config2 | SD_CONFIG2_DF, HOST_CONFIG2(host)); | 192 | au_writel(config2 | SD_CONFIG2_DF, HOST_CONFIG2(host)); |
193 | au_sync(); | 193 | au_sync(); |
194 | 194 | ||
195 | /* Send the stop commmand */ | 195 | /* Send the stop command */ |
196 | au_writel(STOP_CMD, HOST_CMD(host)); | 196 | au_writel(STOP_CMD, HOST_CMD(host)); |
197 | } | 197 | } |
198 | 198 | ||
@@ -964,7 +964,7 @@ static int __devinit au1xmmc_probe(struct platform_device *pdev) | |||
964 | goto out1; | 964 | goto out1; |
965 | } | 965 | } |
966 | 966 | ||
967 | host->ioarea = request_mem_region(r->start, r->end - r->start + 1, | 967 | host->ioarea = request_mem_region(r->start, resource_size(r), |
968 | pdev->name); | 968 | pdev->name); |
969 | if (!host->ioarea) { | 969 | if (!host->ioarea) { |
970 | dev_err(&pdev->dev, "mmio already in use\n"); | 970 | dev_err(&pdev->dev, "mmio already in use\n"); |
@@ -998,7 +998,7 @@ static int __devinit au1xmmc_probe(struct platform_device *pdev) | |||
998 | mmc->f_max = 24000000; | 998 | mmc->f_max = 24000000; |
999 | 999 | ||
1000 | mmc->max_seg_size = AU1XMMC_DESCRIPTOR_SIZE; | 1000 | mmc->max_seg_size = AU1XMMC_DESCRIPTOR_SIZE; |
1001 | mmc->max_phys_segs = AU1XMMC_DESCRIPTOR_COUNT; | 1001 | mmc->max_segs = AU1XMMC_DESCRIPTOR_COUNT; |
1002 | 1002 | ||
1003 | mmc->max_blk_size = 2048; | 1003 | mmc->max_blk_size = 2048; |
1004 | mmc->max_blk_count = 512; | 1004 | mmc->max_blk_count = 512; |