+++ /dev/null
-From d4f56c7773483b8829e89cfc739b7a5a071f6da0 Mon Sep 17 00:00:00 2001
-From: Sricharan R <sricharan@codeaurora.org>
-Date: Fri, 10 Jun 2016 23:38:20 +0530
-Subject: i2c: qup: Fix wrong value of index variable
-
-From: Sricharan R <sricharan@codeaurora.org>
-
-commit d4f56c7773483b8829e89cfc739b7a5a071f6da0 upstream.
-
-index gets incremented during check to determine if the
-messages can be transferred with dma. But not reset after
-that, resulting in wrong start value in subsequent loop,
-causing failure. Fix it.
-
-Signed-off-by: Sricharan R <sricharan@codeaurora.org>
-Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/i2c/busses/i2c-qup.c | 2 ++
- 1 file changed, 2 insertions(+)
-
---- a/drivers/i2c/busses/i2c-qup.c
-+++ b/drivers/i2c/busses/i2c-qup.c
-@@ -435,6 +435,8 @@ static int qup_i2c_read_one(struct qup_i
- if (ret)
- goto err;
-
-+ idx = 0;
-+
- do {
- left = wait_for_completion_timeout(&qup->xfer, HZ);
- if (!left) {
ipr-clear-interrupt-on-croc-crocodile-when-running-with-lsi.patch
media-fix-airspy-usb-probe-error-path.patch
posix_cpu_timer-exit-early-when-process-has-been-reaped.patch
-i2c-qup-fix-wrong-value-of-index-variable.patch
i2c-mux-reg-wrong-condition-checked-for-of_address_to_resource-return-value.patch
libata-lite-on-cx1-jb256-hp-needs-lower-max_sectors.patch
libceph-apply-new_state-before-new_up_client-on-incrementals.patch