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)
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

Simple merge
Simple merge
Simple merge