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>
Sun, 24 Jan 2016 18:12:31 +0000 (02:12 +0800)
commit3d170c1f5a915e0fbb799d13cadeb6c7f159c24a
tree330c40810507523f48a3c17270d43bf95e10ad89
parent232b6e12696bc19cd961cfe0a4ab83ef60ca8ddc
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