summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-lts-knock/0001-sdhci-revert.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/linux-libre-lts-knock/0001-sdhci-revert.patch')
-rw-r--r--kernels/linux-libre-lts-knock/0001-sdhci-revert.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/kernels/linux-libre-lts-knock/0001-sdhci-revert.patch b/kernels/linux-libre-lts-knock/0001-sdhci-revert.patch
new file mode 100644
index 000000000..5d4afd644
--- /dev/null
+++ b/kernels/linux-libre-lts-knock/0001-sdhci-revert.patch
@@ -0,0 +1,25 @@
+index 2cadf08..b48565e 100644
+--- a/drivers/mmc/host/sdhci.c
++++ b/drivers/mmc/host/sdhci.c
+@@ -1895,9 +1895,9 @@ static int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode)
+ tuning_count = host->tuning_count;
+
+ /*
+- * The Host Controller needs tuning only in case of SDR104 mode
+- * and for SDR50 mode when Use Tuning for SDR50 is set in the
+- * Capabilities register.
++ * The Host Controller needs tuning in case of SDR104 and DDR50
++ * mode, and for SDR50 mode when Use Tuning for SDR50 is set in
++ * the Capabilities register.
+ * If the Host Controller supports the HS200 mode then the
+ * tuning function has to be executed.
+ */
+@@ -1917,6 +1917,7 @@ static int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode)
+ break;
+
+ case MMC_TIMING_UHS_SDR104:
++ case MMC_TIMING_UHS_DDR50:
+ break;
+
+ case MMC_TIMING_UHS_SDR50:
+generated by cgit v0.11.2 at 2016-01-01 22:11:38 (GMT)