Message ID | m3lig6h0xw.fsf_-_@pullcord.laptop.org (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
On Wed, Sep 19, 2012 at 4:27 PM, Chris Ball <cjb@laptop.org> wrote: > In particular, this is done to gain support for broken-cd and wp-inverted. > > Signed-off-by: Chris Ball <cjb@laptop.org> > --- > (A previously submitted patch of mine added broken-cd support to > sdhci-pxav3 directly; I think it's a better idea to discard that > patch and use this one instead.) Thanks Chris, it's really better. Acked-by: Zhangfei Gao <zhangfei.gao@marvell.com> -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index 3a81cd6..78d7c42 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c @@ -296,6 +296,8 @@ static int __devinit sdhci_pxav3_probe(struct platform_device *pdev) host->ops = &pxav3_sdhci_ops; + sdhci_get_of_property(pdev); + ret = sdhci_add_host(host); if (ret) { dev_err(&pdev->dev, "failed to add host\n");
In particular, this is done to gain support for broken-cd and wp-inverted. Signed-off-by: Chris Ball <cjb@laptop.org> --- (A previously submitted patch of mine added broken-cd support to sdhci-pxav3 directly; I think it's a better idea to discard that patch and use this one instead.) drivers/mmc/host/sdhci-pxav3.c | 2 ++ 1 file changed, 2 insertions(+)