diff options
author | Pavan Kunapuli <pkunapuli@nvidia.com> | 2010-10-21 19:57:39 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2010-10-22 15:26:46 -0700 |
commit | bab81bb8584c0bfcb2a4d86556bb80ec9f8beb9a (patch) | |
tree | e0cdd4bf41e416806423093a6e7f90be13e3f9f2 /drivers | |
parent | cbfb3154f1621958f053ec23a4d2811fb938b618 (diff) |
sdhci-tegra:Passing the correct handle to read/write macros.
The tegra_sdhci structure pointer is passed to the sdhci_readl
and sdhci_writel macros instead of the required sdhci_host
structure pointer. Corrected this.
Change-Id: Icc7172387fc206c65c685e5ee5ee6ab390e9ad89
Reviewed-on: http://git-master/r/9020
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Rahul Bansal <rbansal@nvidia.com>
Tested-by: Rahul Bansal <rbansal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/mmc/host/sdhci-tegra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 684a1c4278b4..2506db6c5329 100755 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -473,10 +473,10 @@ static int tegra_sdhci_suspend(struct device *dev) sdhost->mmc->ops->set_ios(sdhost->mmc, &ios); /* keep CARD_INT enabled - if used as wakeup source */ if (host->sdhci_ints & SDHCI_INT_CARD_INT) { - u32 ier = sdhci_readl(host, SDHCI_INT_ENABLE); + u32 ier = sdhci_readl(sdhost, SDHCI_INT_ENABLE); ier |= SDHCI_INT_CARD_INT; - sdhci_writel(host, ier, SDHCI_INT_ENABLE); - sdhci_writel(host, ier, SDHCI_SIGNAL_ENABLE); + sdhci_writel(sdhost, ier, SDHCI_INT_ENABLE); + sdhci_writel(sdhost, ier, SDHCI_SIGNAL_ENABLE); if (sdhost->quirks & SDHCI_QUIRK_ENABLE_INTERRUPT_AT_BLOCK_GAP) { u8 gap_ctrl = sdhci_readb(sdhost, SDHCI_BLOCK_GAP_CONTROL); |