Skip to content

Commit eb701ce

Browse files
ahunter6storulf
authored andcommitted
mmc: sdhci-pci: Fix default d3_retune for Intel host controllers
The default for d3_retune is true, but that was not being set in all cases, which results in eMMC errors because re-tuning has not been done. Fix by initializing d3_retune to true. Signed-off-by: Adrian Hunter <[email protected]> Fixes: c959a6b ("mmc: sdhci-pci: Don't re-tune with runtime pm for some Intel devices") Cc: [email protected] # v4.12+ Reported-and-tested-by: ojab <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 8a5776a commit eb701ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/mmc/host/sdhci-pci-core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@ static void intel_dsm_init(struct intel_host *intel_host, struct device *dev,
448448
int err;
449449
u32 val;
450450

451+
intel_host->d3_retune = true;
452+
451453
err = __intel_dsm(intel_host, dev, INTEL_DSM_FNS, &intel_host->dsm_fns);
452454
if (err) {
453455
pr_debug("%s: DSM not supported, error %d\n",

0 commit comments

Comments
 (0)