commit | 451c89578eb4791b9d329eb71a79e6715e60f89e | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Tue Dec 04 16:51:36 2012 +0100 |
committer | Chris Ball <cjb@laptop.org> | Fri Dec 07 13:55:50 2012 -0500 |
tree | 0c351375c3a47fa7791d3d8b2ff383f663a136eb | |
parent | 9f1fb60a2338aa2202ca94d67f84c582f31dbf5a [diff] |
mmc: extend the slot-gpio card-detection to use host's .card_event() method The slot-gpio API provides a generic card-detection handler. To support a wider range of hosts it has to call the host's card-event callback, if implemented. Also increase the debounce interval to 200ms to match the SDHCI driver. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Reviewed-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>