mmc: sdhci-pci: Fix bus power failing to enable for some Intel controllers
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 5 Oct 2016 09:11:24 +0000 (12:11 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Oct 2016 12:20:52 +0000 (14:20 +0200)
commitfee686b74a9c115d3c4c851eb6613d1378ad0e0c
tree203e96d98eecd9b89288802c4af29aa5c11c6ae9
parent6bc090631dfc3394da0619e920662e6636dbe89c
mmc: sdhci-pci: Fix bus power failing to enable for some Intel controllers

Some Intel controllers (e.g. BXT) might fail to set bus power after a
D3 -> D0 transition due to the present state not yet having propagated.
Retry for up to 2 milliseconds.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c