diff options
author | John Crispin <blogic@openwrt.org> | 2015-02-11 10:09:23 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-02-11 10:09:23 +0000 |
commit | 74dc0649ff0097f75faa26f4b85e61e334b458a4 (patch) | |
tree | 7816568a18d29fffe8df1bf103d8c47aa2e225a0 /target/linux/ipq806x/patches/0062-i2c-qup-off-by-ones-in-qup_i2c_probe.patch | |
parent | 32c88d568cd4e7fc2ec035dff1ae51d3740cabf7 (diff) | |
download | upstream-74dc0649ff0097f75faa26f4b85e61e334b458a4.tar.gz upstream-74dc0649ff0097f75faa26f4b85e61e334b458a4.tar.bz2 upstream-74dc0649ff0097f75faa26f4b85e61e334b458a4.zip |
ipq806x: update target to v3.18
Patches in the ipq806x/patches folder were out of tree in v3.14. The
newest patch at the time was from June, so we can safely assume that
either the patches have been merged, or they have been rejected for
a good reason. If patches are seen missing, we'll cherry-pick them
on a per-needed basis.
This new kernel have been tested on AP148, which seems to works fine.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44386 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ipq806x/patches/0062-i2c-qup-off-by-ones-in-qup_i2c_probe.patch')
-rw-r--r-- | target/linux/ipq806x/patches/0062-i2c-qup-off-by-ones-in-qup_i2c_probe.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/ipq806x/patches/0062-i2c-qup-off-by-ones-in-qup_i2c_probe.patch b/target/linux/ipq806x/patches/0062-i2c-qup-off-by-ones-in-qup_i2c_probe.patch deleted file mode 100644 index 3feef669cf..0000000000 --- a/target/linux/ipq806x/patches/0062-i2c-qup-off-by-ones-in-qup_i2c_probe.patch +++ /dev/null @@ -1,31 +0,0 @@ -From aa50d1b0d81e4a9509f15894ec64013aa5190b59 Mon Sep 17 00:00:00 2001 -From: Dan Carpenter <dan.carpenter@oracle.com> -Date: Thu, 3 Apr 2014 10:22:54 +0300 -Subject: [PATCH 062/182] i2c: qup: off by ones in qup_i2c_probe() - -These should ">= ARRAY_SIZE()" instead of "> ARRAY_SIZE()". - -Fixes: 10c5a8425968 ('i2c: qup: New bus driver for the Qualcomm QUP I2C controller') -Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> -Signed-off-by: Wolfram Sang <wsa@the-dreams.de> ---- - drivers/i2c/busses/i2c-qup.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/drivers/i2c/busses/i2c-qup.c -+++ b/drivers/i2c/busses/i2c-qup.c -@@ -633,12 +633,12 @@ static int qup_i2c_probe(struct platform - * associated with each byte written/received - */ - size = QUP_OUTPUT_BLOCK_SIZE(io_mode); -- if (size > ARRAY_SIZE(blk_sizes)) -+ if (size >= ARRAY_SIZE(blk_sizes)) - return -EIO; - qup->out_blk_sz = blk_sizes[size] / 2; - - size = QUP_INPUT_BLOCK_SIZE(io_mode); -- if (size > ARRAY_SIZE(blk_sizes)) -+ if (size >= ARRAY_SIZE(blk_sizes)) - return -EIO; - qup->in_blk_sz = blk_sizes[size] / 2; - |