summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.3/109-bcm63xx-fix-transfer-bits_per_words-check.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-01-04 14:47:43 +0000
committerJonas Gorski <jogo@openwrt.org>2013-01-04 14:47:43 +0000
commit10fc07daacfee223f869397d356d1481e4094e12 (patch)
tree6a82d3ed0768bbed69af8bdce78fa4434bb3cf72 /target/linux/brcm63xx/patches-3.3/109-bcm63xx-fix-transfer-bits_per_words-check.patch
parent3b7882e7752f154ce6407c892e7b92015c5c3481 (diff)
downloadmtk-20170518-10fc07daacfee223f869397d356d1481e4094e12.zip
mtk-20170518-10fc07daacfee223f869397d356d1481e4094e12.tar.gz
mtk-20170518-10fc07daacfee223f869397d356d1481e4094e12.tar.bz2
bcm63xx: remove 3.3 support
3.6 is tested enough to be considered stable. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35009
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/109-bcm63xx-fix-transfer-bits_per_words-check.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.3/109-bcm63xx-fix-transfer-bits_per_words-check.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/109-bcm63xx-fix-transfer-bits_per_words-check.patch b/target/linux/brcm63xx/patches-3.3/109-bcm63xx-fix-transfer-bits_per_words-check.patch
deleted file mode 100644
index 37d9d49..0000000
--- a/target/linux/brcm63xx/patches-3.3/109-bcm63xx-fix-transfer-bits_per_words-check.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From fbef4dff80be6254e36ab5b9c655d248a3991ded Mon Sep 17 00:00:00 2001
-From: Jonas Gorski <jonas.gorski@gmail.com>
-Date: Sat, 24 Nov 2012 12:08:22 +0100
-Subject: [PATCH 3.7] spi/bcm63xx: fix transfer bits_per_words check
-
-Transfers often do not have bits_per_words set, so use the spi device's
-bits_per_words in this case.
-
-This fixes the driver rejecting valid transfers e.g. generated by
-spi_write() or spi_read().
-
-Cc: stable@vger.kernel.org
-Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
----
- drivers/spi/spi-bcm63xx.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/drivers/spi/spi-bcm63xx.c
-+++ b/drivers/spi/spi-bcm63xx.c
-@@ -103,7 +103,8 @@ static int bcm63xx_spi_check_transfer(st
- {
- u8 bits_per_word;
-
-- bits_per_word = (t) ? t->bits_per_word : spi->bits_per_word;
-+ bits_per_word = (t && t->bits_per_word) ?
-+ t->bits_per_word : spi->bits_per_word;
- if (bits_per_word != 8) {
- dev_err(&spi->dev, "%s, unsupported bits_per_word=%d\n",
- __func__, bits_per_word);