diff options
author | John Crispin <john@openwrt.org> | 2016-02-25 10:14:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-02-25 10:14:05 +0000 |
commit | 0834f9f07631a8857a96614e37cb21e1dc84ffb4 (patch) | |
tree | c62e777de69d8397ed7870991bc46d5648a20046 /target/linux/brcm2708/patches-4.1/0222-bcm2835-sdhost-Don-t-log-timeout-errors-unless-debug.patch | |
parent | b3dc9566a46efa67951ff6ae28e4397da9db92af (diff) | |
download | mtk-20170518-0834f9f07631a8857a96614e37cb21e1dc84ffb4.zip mtk-20170518-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.gz mtk-20170518-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.bz2 |
brcm2708: remove linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48766
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0222-bcm2835-sdhost-Don-t-log-timeout-errors-unless-debug.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0222-bcm2835-sdhost-Don-t-log-timeout-errors-unless-debug.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0222-bcm2835-sdhost-Don-t-log-timeout-errors-unless-debug.patch b/target/linux/brcm2708/patches-4.1/0222-bcm2835-sdhost-Don-t-log-timeout-errors-unless-debug.patch deleted file mode 100644 index 58c18b3..0000000 --- a/target/linux/brcm2708/patches-4.1/0222-bcm2835-sdhost-Don-t-log-timeout-errors-unless-debug.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 190044f7b7a0b06d46de345f9c79f7991051b68d Mon Sep 17 00:00:00 2001 -From: Phil Elwell <phil@raspberrypi.org> -Date: Wed, 9 Dec 2015 11:38:15 +0000 -Subject: [PATCH 222/222] bcm2835-sdhost: Don't log timeout errors unless - debug=1 - -The MMC card-discovery process generates timeouts. This is -expected behaviour, so reporting it to the user serves no purpose. -Suppress the reporting of timeout errors unless the debug flag -is on. ---- - drivers/mmc/host/bcm2835-sdhost.c | 18 +++++++----------- - 1 file changed, 7 insertions(+), 11 deletions(-) - ---- a/drivers/mmc/host/bcm2835-sdhost.c -+++ b/drivers/mmc/host/bcm2835-sdhost.c -@@ -966,19 +966,15 @@ static void bcm2835_sdhost_finish_comman - mmc_hostname(host->mmc)); - } else { - if (sdhsts & SDHSTS_CMD_TIME_OUT) { -- switch (host->cmd->opcode) { -- case 5: case 52: case 53: -- /* Don't warn about SDIO commands */ -- break; -- default: -- pr_err("%s: command timeout\n", -- mmc_hostname(host->mmc)); -- break; -- } -+ if (host->debug) -+ pr_err("%s: command %d timeout\n", -+ mmc_hostname(host->mmc), -+ host->cmd->opcode); - host->cmd->error = -ETIMEDOUT; - } else { -- pr_err("%s: unexpected command error\n", -- mmc_hostname(host->mmc)); -+ pr_err("%s: unexpected command %d error\n", -+ mmc_hostname(host->mmc), -+ host->cmd->opcode); - bcm2835_sdhost_dumpregs(host); - host->cmd->error = -EIO; - } |