[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <74CDBE0F657A3D45AFBB94109FB122FF04B3279D49@HQMAIL01.nvidia.com>
Date: Tue, 30 Aug 2011 09:17:31 -0700
From: Stephen Warren <swarren@...dia.com>
To: Marc Dietich <marvin24@....de>
CC: Grant Likely <grant.likely@...retlab.ca>,
Chris Ball <cjb@...top.org>, Olof Johansson <olof@...om.net>,
Shawn Guo <shawn.guo@...aro.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"devicetree-discuss@...ts.ozlabs.org"
<devicetree-discuss@...ts.ozlabs.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/2] sdhci/tegra: Add Device Tree probing support
Marc Dietich wrote at Tuesday, August 30, 2011 1:52 AM:
...
> > diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
...
> > @@ -95,12 +94,10 @@ static irqreturn_t carddetect_irq(int irq, void *data)
> >
> > static int tegra_sdhci_8bit(struct sdhci_host *host, int bus_width)
> > {
> > - struct platform_device *pdev = to_platform_device(mmc_dev(host->mmc));
> > - struct tegra_sdhci_platform_data *plat;
> > + struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
> > + struct tegra_sdhci_platform_data *plat = pltfm_host->priv;
> > u32 ctrl;
> >
> > - plat = pdev->dev.platform_data;
> > -
> > ctrl = sdhci_readb(host, SDHCI_HOST_CONTROL);
> > if (plat->is_8bit && bus_width == MMC_BUS_WIDTH_8) {
> > ctrl &= ~SDHCI_CTRL_4BITBUS;
>
> what about 8 bit support?
I didn't understand the question at first; I assume you're asking about
8-bit support in the device-tree binding/parsing.
Yes, that's a missing feature, and I should add it. Thanks for pointing
that out.
(I'll also fix the binding docs issue that Shawn pointed out while I'm
at it).
--
nvpublic
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists