aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/sdio.c')
-rw-r--r--drivers/mmc/core/sdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c
index 48c465a8e3..58cf36e446 100644
--- a/drivers/mmc/core/sdio.c
+++ b/drivers/mmc/core/sdio.c
@@ -30,7 +30,7 @@ static int sdio_read_fbr(struct sdio_func *func)
30 unsigned char data; 30 unsigned char data;
31 31
32 ret = mmc_io_rw_direct(func->card, 0, 0, 32 ret = mmc_io_rw_direct(func->card, 0, 0,
33 func->num * 0x100 + SDIO_FBR_STD_IF, 0, &data); 33 SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF, 0, &data);
34 if (ret) 34 if (ret)
35 goto out; 35 goto out;
36 36
@@ -38,7 +38,7 @@ static int sdio_read_fbr(struct sdio_func *func)
38 38
39 if (data == 0x0f) { 39 if (data == 0x0f) {
40 ret = mmc_io_rw_direct(func->card, 0, 0, 40 ret = mmc_io_rw_direct(func->card, 0, 0,
41 func->num * 0x100 + SDIO_FBR_STD_IF_EXT, 0, &data); 41 SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF_EXT, 0, &data);
42 if (ret) 42 if (ret)
43 goto out; 43 goto out;
44 } 44 }