diff options
author | David P <megver83@parabola.nu> | 2020-02-24 17:49:36 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-02-24 17:49:36 -0300 |
commit | 72eca863bfda9a4d4f483f20847e2d99fcb29882 (patch) | |
tree | dbcc0a4833891d7b83de82e5aed9240043e9246f /libre/linux-libre-lts/0004-fix-mvsdio-eMMC-timing.patch | |
parent | a4d6ab825b0a501b1f314ba43ae6dd94657f766f (diff) | |
download | abslibre-72eca863bfda9a4d4f483f20847e2d99fcb29882.tar.gz abslibre-72eca863bfda9a4d4f483f20847e2d99fcb29882.tar.bz2 abslibre-72eca863bfda9a4d4f483f20847e2d99fcb29882.zip |
updpkg: libre/linux-libre-lts 5.4.21-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre-lts/0004-fix-mvsdio-eMMC-timing.patch')
-rw-r--r-- | libre/linux-libre-lts/0004-fix-mvsdio-eMMC-timing.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/linux-libre-lts/0004-fix-mvsdio-eMMC-timing.patch b/libre/linux-libre-lts/0004-fix-mvsdio-eMMC-timing.patch index 19ef6c0ac..791a546d6 100644 --- a/libre/linux-libre-lts/0004-fix-mvsdio-eMMC-timing.patch +++ b/libre/linux-libre-lts/0004-fix-mvsdio-eMMC-timing.patch @@ -1,4 +1,4 @@ -From 43be8213a90dae909f838dedbc5e8a1e82b9572d Mon Sep 17 00:00:00 2001 +From 579d132a05177e4b85d3ff2321762948fd78b420 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich <kevin@archlinuxarm.org> Date: Fri, 5 Sep 2014 15:43:56 -0600 Subject: [PATCH 4/9] fix mvsdio eMMC timing @@ -12,10 +12,10 @@ 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 e22bbff89c8d..6b30c850ce07 100644 +index 74a0a7fbbf7f..92eadb116762 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) +@@ -90,7 +90,7 @@ static int mvsd_setup_data(struct mvsd_host *host, struct mmc_data *data) tmout_index = fls(tmout - 1) - 12; if (tmout_index < 0) tmout_index = 0; @@ -24,7 +24,7 @@ index e22bbff89c8d..6b30c850ce07 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", -@@ -616,6 +616,8 @@ static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) +@@ -613,6 +613,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 e22bbff89c8d..6b30c850ce07 100644 host->clock = ios->clock; host->ns_per_clk = 1000000000 / (host->base_clock / (m+1)); -- -2.19.0 +2.23.0 |