]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 14 Feb 2018 13:57:43 +0000 (15:57 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 27 Feb 2018 09:03:48 +0000 (10:03 +0100)
commit0412816a21261bd3c4f8fe797dc2c262ea33d0c3
tree217bd38b934c9516a3007b8c63fd73773ad352b0
parent0a971331c84ae05259efa3c31ed9df6504e62eb8
mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers

Tuning can leave the IP in an active state (Buffer Read Enable bit set)
which prevents the entry to low power states (i.e. S0i3). Data reset will
clear it.

Generally tuning is followed by a data transfer which will anyway sort out
the state, so it is rare that S0i3 is actually prevented.

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