Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1136365pxa; Thu, 20 Aug 2020 03:37:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYWcgKpyCV1FPs+CcGLQsLpo+Ta4dBsQzkXpCeemS1GO/Go+u2+1nHGWLml0nCtu8lO+ju X-Received: by 2002:a17:906:768c:: with SMTP id o12mr2022118ejm.269.1597919834594; Thu, 20 Aug 2020 03:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597919834; cv=none; d=google.com; s=arc-20160816; b=W5VjLzlkdkmfjaEtv0N7lH+q7LzjztqwSikUhBpP7u9HIUQnG4Ivw/YcgB4zD/rjay eBzZmB3DYw8ShoTS46ClmxWUfzVQM/nrTHzXfWLjxgPe41pxm/xerEcV3OU9qqWIiWXR eC3L1kf3RqU68YRdzfQH2VlLMd2sk/ZiVuQn7rKzQEQFZKQFq2t5M0fq7MpL/BFjwjnZ am4njQCqWu0tRNDmu8aYtahnXwqx8RGR12Wox9QgcKz9DTfmfxajR64BHohjL4y5y+mZ FhTFJjSPPgVUqlKkqapJe5I++Hi8a3H27TASfhmOTNA46X+2OWp6JBginHH3Ev0SjACh eTGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=VAu7wockhxS1HFXXzpa8EQKjtzQGp+3y6PWaxG2BAsY=; b=b1E5ER6R/Z9pNrdom/gkHxMhQK5kvKGfiHLdB9mKN+B3K2NZi0sEH86J/YpN6oHgbR PfSZN9Z5YYpbvoZtXhOCqnJuKyLjUh7h2UMurL28oyvnLQktq63jO9aOomiamon7U64k ydWE9gTsGZ8zO6CRzlMicYb0pc9KMhBNB8O4yvKfnd25xTdoqMopFgyZdjz8xugULbV/ 9FTnZ/pMdnbflxg9I5HzEXI5vjU4LUPjpy3zw2g9bMRTdMBERjFSdYhsvg11rYHz/MfS spnDRio7hGnX7tN0VE+Vpv3X7bja+cSsK7qup1d4XxwpXUJ8Y1M3I8ZxnkLDZa9cqccW I3KA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n19si921258ejc.243.2020.08.20.03.36.51; Thu, 20 Aug 2020 03:37:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730862AbgHTKgT (ORCPT + 99 others); Thu, 20 Aug 2020 06:36:19 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:13347 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731299AbgHTKgI (ORCPT ); Thu, 20 Aug 2020 06:36:08 -0400 Received: from ironmsg07-lv.qualcomm.com (HELO ironmsg07-lv.qulacomm.com) ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 20 Aug 2020 03:36:08 -0700 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg07-lv.qulacomm.com with ESMTP/TLS/AES256-SHA; 20 Aug 2020 03:36:06 -0700 Received: from c-rojay-linux.qualcomm.com ([10.206.21.80]) by ironmsg01-blr.qualcomm.com with ESMTP; 20 Aug 2020 16:05:26 +0530 Received: by c-rojay-linux.qualcomm.com (Postfix, from userid 88981) id DB9311F44; Thu, 20 Aug 2020 16:05:25 +0530 (IST) From: Roja Rani Yarubandi To: wsa@kernel.org Cc: swboyd@chromium.org, dianders@chromium.org, saiprakash.ranjan@codeaurora.org, gregkh@linuxfoundation.org, mka@chromium.org, akashast@codeaurora.org, msavaliy@qti.qualcomm.com, skakit@codeaurora.org, rnayak@codeaurora.org, agross@kernel.org, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, sumit.semwal@linaro.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Roja Rani Yarubandi Subject: [PATCH V2 0/2] Implement Shutdown callback for i2c Date: Thu, 20 Aug 2020 16:05:20 +0530 Message-Id: <20200820103522.26242-1-rojay@codeaurora.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Store DMA mapping data in geni_i2c_dev struct. Implement Shutdown callback for geni i2c driver. Changes in V2: - Changed commit text. - As per Stephen's comments added separate function for stop transfer. Roja Rani Yarubandi (2): i2c: i2c-qcom-geni: Store DMA mapping data in geni_i2c_dev struct i2c: i2c-qcom-geni: Add shutdown callback for i2c drivers/i2c/busses/i2c-qcom-geni.c | 50 ++++++++++++++++++++++++++++++ include/linux/qcom-geni-se.h | 5 +++ 2 files changed, 55 insertions(+) -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation