i2c: qup: Fix wrong value of index variable
authorSricharan R <sricharan@codeaurora.org>
Fri, 10 Jun 2016 18:08:20 +0000 (23:38 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 18 Jun 2016 16:33:13 +0000 (18:33 +0200)
commitd4f56c7773483b8829e89cfc739b7a5a071f6da0
tree26b51620ec6c87967fd77a3372d0a6b25c3f2dba
parent5edb56491d4812c42175980759da53388e5d86f5
i2c: qup: Fix wrong value of index variable

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>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-qup.c
This page took 0.028965 seconds and 5 git commands to generate.