From 8d765d25b625d7f33ed1d301e0ea8321f3c66bae Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Mon, 15 Oct 2012 21:35:05 +0530 Subject: [PATCH] --- yaml --- r: 336273 b: refs/heads/master c: 46b76035c12140caeda64dfd2557557263a30039 h: refs/heads/master i: 336271: 180817360c75313ffa0bc70f823482ec222ccc59 v: v3 --- [refs] | 2 +- trunk/drivers/mmc/host/omap_hsmmc.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0fac1623f4b2..1feb7b031479 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2cb535529d52658613a2138677f5e497e633bead +refs/heads/master: 46b76035c12140caeda64dfd2557557263a30039 diff --git a/trunk/drivers/mmc/host/omap_hsmmc.c b/trunk/drivers/mmc/host/omap_hsmmc.c index fedd258cc4ea..813ae0ac6286 100644 --- a/trunk/drivers/mmc/host/omap_hsmmc.c +++ b/trunk/drivers/mmc/host/omap_hsmmc.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -1725,6 +1726,7 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev) const struct of_device_id *match; dma_cap_mask_t mask; unsigned tx_req, rx_req; + struct pinctrl *pinctrl; match = of_match_device(of_match_ptr(omap_mmc_of_match), &pdev->dev); if (match) { @@ -1928,6 +1930,11 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev) omap_hsmmc_disable_irq(host); + pinctrl = devm_pinctrl_get_select_default(&pdev->dev); + if (IS_ERR(pinctrl)) + dev_warn(&pdev->dev, + "pins are not configured from the driver\n"); + omap_hsmmc_protect_card(host); mmc_add_host(mmc);