]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: expose the capability of gpio card detect
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 12 Oct 2016 02:50:37 +0000 (10:50 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:37 +0000 (09:00 +0100)
commitc5bb7984ce6bec5dae6738070bed8986d57d039c
tree6a9abe578055294f8ff50bda912aa53fe0de60da
parent53c577a17d551ca87e39472215324d584aaf36cb
mmc: core: expose the capability of gpio card detect

Add new helper API mmc_can_gpio_cd for slot-gpio to make
host drivers know whether it supports gpio card detect.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/slot-gpio.c
include/linux/mmc/slot-gpio.h