Re: [PATCH] mmc: sdhci-tegra: convert to use GPIO descriptors

From: Alexandre Courbot
Date: Wed Apr 01 2015 - 06:43:59 EST


On Tue, Mar 31, 2015 at 6:39 AM, Mylene JOSSERAND
<josserand.mylene@xxxxxxxxx> wrote:
> Modify the driver to handle GPIOs using the descriptor API.

Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
Tested-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

Both the eMMC (not using power GPIO) and SD slot (using power GPIO) of
my Jetson are happy with this patch. While reviewing it I also noticed
that it improves error handling: any error returned by
of_get_named_gpio(), including -EPROBE_DEFER, were ignored and and
driver would successfully probe without powering the controller.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/