summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-acpi.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2014-03-10 14:02:41 +0100
committerChris Ball <chris@printf.net>2014-03-17 14:12:00 +0100
commit740a221ef0e579dc7c675cf6b90f5313509788f7 (patch)
tree7e31940925f1e6e4b7876c9a1f96a17eef20b401 /drivers/mmc/host/sdhci-acpi.c
parentmmc: slot-gpio: Split out CD IRQ request into a separate function (diff)
downloadlinux-740a221ef0e579dc7c675cf6b90f5313509788f7.tar.xz
linux-740a221ef0e579dc7c675cf6b90f5313509788f7.zip
mmc: slot-gpio: Add GPIO descriptor based CD GPIO API
Add functions to request a CD GPIO using the GPIO descriptor API. Note that the new request function is paired with mmc_gpiod_free_cd() not mmc_gpio_free_cd(). Note also that it must be called prior to mmc_add_host() otherwise the caller must also call mmc_gpiod_request_cd_irq(). Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/sdhci-acpi.c')
0 files changed, 0 insertions, 0 deletions