OSDN Git Service

mmc: sdhci-acpi: Fix device hang on Intel BayTrail
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 24 Mar 2015 13:40:39 +0000 (15:40 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 28 Apr 2015 17:10:53 +0000 (01:10 +0800)
commitdf2f12ff0c7985e1164ac197623ccb32e761ccc7
treedfc2653a56ce54b2a9152be75ee670e6f6b2e966
parent54258db97ce7f2fcb425cf3b7ff3b68f9e1c7582
mmc: sdhci-acpi: Fix device hang on Intel BayTrail

Intel Baytrail has been observed sometimes to hang
if host controllers are using DMA while deep C-states
are used. Workaround that by specifying a maximum
DMA latency that will prevent deep C-states.

Unfortunately, host controller ACPI HIDs are not unique
to Baytrail, so the CPU must be identified.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
drivers/mmc/host/sdhci-acpi.c