The following three patches allow sdhci-dove to use a GPIO for card
presence detection.  This is a three stage process:

1. Clean up error paths by using devm_clk_get().
2. Use the two-stage sdhci initialization.
3. Implement the GPIO card detection support.

A very similar patch has been tested by Sebastian on the cubox; since
that version, I've changed the error printing slightly and dropped the
non-DT support for this feature as mainline doesn't have non-DT cubox
support.

 drivers/mmc/host/sdhci-dove.c |  108 +++++++++++++++++++++++++++++++++--------
 1 files changed, 88 insertions(+), 20 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to