diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-03-26 19:46:01 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2015-03-26 19:46:01 +0000 |
commit | b18f5eb44a31d7d73b31519175c366630413ac8a (patch) | |
tree | 954b52e1dba2a37e9d1958f453eef26e12ef26fa /target/linux/xburst/patches-3.10/005-MMC-JZ4740-Fix-handling-of-read-errors.patch | |
parent | c25bf32f8dc8cd47a1e78e1701dc79da55529f93 (diff) | |
download | upstream-b18f5eb44a31d7d73b31519175c366630413ac8a.tar.gz upstream-b18f5eb44a31d7d73b31519175c366630413ac8a.tar.bz2 upstream-b18f5eb44a31d7d73b31519175c366630413ac8a.zip |
xburst: Update to 3.18
Update the xburst target to kernel version 3.18 and also remove the broken 3.10 support.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
SVN-Revision: 45031
Diffstat (limited to 'target/linux/xburst/patches-3.10/005-MMC-JZ4740-Fix-handling-of-read-errors.patch')
-rw-r--r-- | target/linux/xburst/patches-3.10/005-MMC-JZ4740-Fix-handling-of-read-errors.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/xburst/patches-3.10/005-MMC-JZ4740-Fix-handling-of-read-errors.patch b/target/linux/xburst/patches-3.10/005-MMC-JZ4740-Fix-handling-of-read-errors.patch deleted file mode 100644 index 598d518e0f..0000000000 --- a/target/linux/xburst/patches-3.10/005-MMC-JZ4740-Fix-handling-of-read-errors.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 81d112d6c0e16fd0136ce2c5f511ba81ed1f23d2 Mon Sep 17 00:00:00 2001 -From: Paul Cercueil <paul@crapouillou.net> -Date: Sun, 3 Jun 2012 13:07:19 +0200 -Subject: [PATCH 05/16] MMC: JZ4740: Fix handling of read errors. - -For no reason, the code handling write errors was implemented while -the code handling read errors was missing. - -Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> ---- - drivers/mmc/host/jz4740_mmc.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - ---- a/drivers/mmc/host/jz4740_mmc.c -+++ b/drivers/mmc/host/jz4740_mmc.c -@@ -231,6 +231,14 @@ static void jz4740_mmc_transfer_check_st - host->req->cmd->error = -EIO; - data->error = -EIO; - } -+ } else if (status & JZ_MMC_STATUS_READ_ERROR_MASK) { -+ if (status & (JZ_MMC_STATUS_TIMEOUT_READ)) { -+ host->req->cmd->error = -ETIMEDOUT; -+ data->error = -ETIMEDOUT; -+ } else { -+ host->req->cmd->error = -EIO; -+ data->error = -EIO; -+ } - } - } - |