diff options
author | Chris Ball <cjb@laptop.org> | 2013-03-19 13:07:13 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-03-19 13:07:13 -0400 |
commit | 2c06aeb25ca92b839399c4e2c956cffc95b41978 (patch) | |
tree | 3fb5007eac3adb9d4c973978c3b084fa077e926b /drivers/mmc/host | |
parent | 9665f7f234d095fc7c28c70df819a3f7b6a7b4e8 (diff) | |
parent | 908ab9368866e6edf0edebdd546adefd5f3128f9 (diff) |
Merge tag 'tegra-for-3.10-fixes-for-mmc' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into mmc-next
ARM: tegra: DT-related fixes needed by the MMC tree
In order to convert the Tegra MMC driver to using mmc_of_parse(), some
bugs in the Tegra device-tree content need to be fixed first; it's
currently wrong but unused, and mmc_of_parse() causes that data to be
used for the first time.
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 60063ccb4c4b..98342213ed21 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c | |||
@@ -1453,7 +1453,7 @@ static void dw_mci_read_data_pio(struct dw_mci *host) | |||
1453 | if (!sg_miter_next(sg_miter)) | 1453 | if (!sg_miter_next(sg_miter)) |
1454 | goto done; | 1454 | goto done; |
1455 | 1455 | ||
1456 | host->sg = sg_miter->__sg; | 1456 | host->sg = sg_miter->piter.sg; |
1457 | buf = sg_miter->addr; | 1457 | buf = sg_miter->addr; |
1458 | remain = sg_miter->length; | 1458 | remain = sg_miter->length; |
1459 | offset = 0; | 1459 | offset = 0; |
@@ -1508,7 +1508,7 @@ static void dw_mci_write_data_pio(struct dw_mci *host) | |||
1508 | if (!sg_miter_next(sg_miter)) | 1508 | if (!sg_miter_next(sg_miter)) |
1509 | goto done; | 1509 | goto done; |
1510 | 1510 | ||
1511 | host->sg = sg_miter->__sg; | 1511 | host->sg = sg_miter->piter.sg; |
1512 | buf = sg_miter->addr; | 1512 | buf = sg_miter->addr; |
1513 | remain = sg_miter->length; | 1513 | remain = sg_miter->length; |
1514 | offset = 0; | 1514 | offset = 0; |