[PATCH 1/3] mmc: dw_mmc: use slot-gpio to handle cd pin
From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-01-09 14:38:47
Also in:
linux-devicetree, linux-mmc
From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-01-09 14:38:47
Also in:
linux-devicetree, linux-mmc
On Thursday 09 January 2014, Zhangfei Gao wrote:
Suggested by Jaehoon: Use slot-gpio to handle cd-gpio Add function dw_mci_of_get_cd_gpio to check "cd-gpios" from dts. mmc_gpio_request_cd and mmc_gpio_get_cd are used to handle cd pin Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> --- drivers/mmc/host/dw_mmc.c | 48 +++++++++++++++++++++++++++++++++------------ 1 file changed, 35 insertions(+), 13 deletions(-)
Acked-by: Arnd Bergmann <arnd@arndb.de>