]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdio: bind acpi with sdio function device
authorAaron Lu <aaron.lu@intel.com>
Tue, 5 Mar 2013 03:24:52 +0000 (11:24 +0800)
committerChris Ball <cjb@laptop.org>
Fri, 22 Mar 2013 16:26:54 +0000 (12:26 -0400)
commiteed222aca8d077af3600b651176f6fd04d95cce1
tree741ebe379dda6cf1eaf9632812b2e9febc6fccb7
parent94144a465dd0b34b3249f988a09472d0f57ad2b7
mmc: sdio: bind acpi with sdio function device

ACPI spec 5 defined the _ADR encoding for sdio bus as:
High word - slot number (0 based)
Low word  - function number

This patch adds support for binding sdio function device with acpi node,
and if successful, involve acpi into its power management.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sdio_bus.c
drivers/mmc/host/sdhci-pci.c
include/linux/mmc/host.h