From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753339AbcFJSIg (ORCPT ); Fri, 10 Jun 2016 14:08:36 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:52725 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752270AbcFJSId (ORCPT ); Fri, 10 Jun 2016 14:08:33 -0400 From: Sricharan R To: linux-arm-msm@vger.kernel.org, ntelkar@codeaurora.org, galak@codeaurora.org, linux-kernel@vger.kernel.org, andy.gross@linaro.org, linux-i2c@vger.kernel.org, agross@codeaurora.org, linux-arm-kernel@lists.infradead.org, nkaje@codeaurora.org, absahu@codeaurora.org Cc: sricharan@codeaurora.org Subject: [PATCH V4 0/3] i2c: qup: Some misc fixes Date: Fri, 10 Jun 2016 23:38:18 +0530 Message-Id: <1465582101-19391-1-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One for fixing the bug with CONFIG_DEBUG_SG enabled, another to suspend the transfer for all errors instead of just for NACK and one for correcting the wrong initial value for index variable. [V4] Added little more description to patch#1 and split a change in to a new patch. [V3] Added more commit description. Return more appropriate error codes for NACK and other bus errors. Corrected other bus errors handling procedure for dma mode as well. Removed the dev_err log for NACKs. [V2] Removed the use of unnecessary variable assignment. Kept the reviewed and Tested by tag for patch#1, as there was no code change. Depends on patch[1] for the error handling to be complete. [1] https://lkml.org/lkml/2016/5/9/447 Sricharan R (3): i2c: qup: Fix broken dma when CONFIG_DEBUG_SG is enabled i2c: qup: Fix wrong value of index variable i2c: qup: Fix error handling drivers/i2c/busses/i2c-qup.c | 128 ++++++++++++++++++++----------------------- 1 file changed, 58 insertions(+), 70 deletions(-) -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation