summarylogtreecommitdiffstats
path: root/0004-fix-mvsdio-eMMC-timing.patch
diff options
context:
space:
mode:
authorDaniel Bermond2018-09-21 19:45:53 +0000
committerDaniel Bermond2018-09-21 19:47:33 +0000
commitb6815c67e6d38f82684b0854703d58dc3d11da5b (patch)
tree79ae2c25d971f33005869805178f78816fc97b45 /0004-fix-mvsdio-eMMC-timing.patch
parent98e3c6cc41febd43b2cdfaa8ae37948bcda8fac8 (diff)
downloadaur-b6815c67e6d38f82684b0854703d58dc3d11da5b.tar.gz
Updated to version 4.18.9
Diffstat (limited to '0004-fix-mvsdio-eMMC-timing.patch')
-rw-r--r--0004-fix-mvsdio-eMMC-timing.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/0004-fix-mvsdio-eMMC-timing.patch b/0004-fix-mvsdio-eMMC-timing.patch
index 4d7e4c4ca2b0..4669a97ab742 100644
--- a/0004-fix-mvsdio-eMMC-timing.patch
+++ b/0004-fix-mvsdio-eMMC-timing.patch
@@ -1,7 +1,7 @@
-From 26bad4f64f00a5b4a197a1cf6d0cde1a02f9cb0b Mon Sep 17 00:00:00 2001
+From bca0f6d98bb3003178d962f83ba795d524460346 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Fri, 5 Sep 2014 15:43:56 -0600
-Subject: [PATCH 04/10] fix mvsdio eMMC timing
+Subject: [PATCH 04/14] fix mvsdio eMMC timing
These changes from Globalscale change the MMC timing to allow the eMMC versions
of the Mirabox and SMILE Plug to work.
@@ -12,7 +12,7 @@ Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
-index 42296e55b9de..e5ce6d27ec82 100644
+index e22bbff89c8d..6b30c850ce07 100644
--- a/drivers/mmc/host/mvsdio.c
+++ b/drivers/mmc/host/mvsdio.c
@@ -93,7 +93,7 @@ static int mvsd_setup_data(struct mvsd_host *host, struct mmc_data *data)
@@ -24,7 +24,7 @@ index 42296e55b9de..e5ce6d27ec82 100644
tmout_index = MVSD_HOST_CTRL_TMOUT_MAX;
dev_dbg(host->dev, "data %s at 0x%08x: blocks=%d blksz=%d tmout=%u (%d)\n",
-@@ -615,6 +615,8 @@ static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
+@@ -616,6 +616,8 @@ static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
u32 m = DIV_ROUND_UP(host->base_clock, ios->clock) - 1;
if (m > MVSD_BASE_DIV_MAX)
m = MVSD_BASE_DIV_MAX;
@@ -34,5 +34,5 @@ index 42296e55b9de..e5ce6d27ec82 100644
host->clock = ios->clock;
host->ns_per_clk = 1000000000 / (host->base_clock / (m+1));
--
-2.12.2
+2.18.0