Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4348043ybi; Tue, 11 Jun 2019 05:17:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLwDXrJ3avuSanyt3y+WFvU6LURPKjJnIOFfAb5ZOsdQgv3Gj7D9T6ofIgzFL4CBKuUrUF X-Received: by 2002:a17:902:7c8e:: with SMTP id y14mr7435372pll.298.1560255467303; Tue, 11 Jun 2019 05:17:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560255467; cv=none; d=google.com; s=arc-20160816; b=nFExxQsMOOMyT4LF6yp0lAytRM2hNweVcMUWc0q6j/uzbyRjQ+kk1GhqJt9vKLW+Fa 7S9cNVAQ3/HtIK+qOGEkWlRIFGfUmbTLxjIiYgFB7u5MUzWJ1pBsMoU2anVxH3nsAGtH Wp5e28K/Il5WnXAsk6O4Og8jX0JMY+IXTQ5b2OfBC5fwDB21Je57+h/S5fjxpVfLTASX UFEmh2T2zEDJPhpn6ALdudf+WtIKKE1qK6POyRzQpa1qvJU4OHBOahUH9AElriaAWqYC OpGbeuUYxNAiJxjWvNNvx8Y9uvHNkaQORX262ce4h6s9AwtS8JXXVERHQ2+0rcQHn/er wp1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=3cpCcddyT2qPq3Wnu1Z2qlvBOHM7S82lD9AAMomje2Q=; b=dt6oZQLqpMdBXJzSJt0Q1xaNus7NT4uPZgfusjOfjqfiM4ozP3Jk9ja6GbyOrB//BU HVZzhAJZhgoZo1Mhyh6aWa5mPkBkpiTP+9w0/0ZLGU/MDF8272wZ1//SiB+qpW5nN+LU L4nOONwkX3bW/fdK5kz0H8je3oPKODczwEmvXblGbSqfjM9krG7YeEPGgTzASj3FvkDX g3iwasHkiqbhdX7UsbwYzIDFLc8Xqvrn+Y8itKHGLSF754Bhe+dQUy5QfxNX8uXRdRk6 9LUkaFfaQpP3vZYwD8MMGOwWKXN3fmpSqzsshghS7iCMgvRC8SJ+vJxdZNRgvPdKvzqY Zwfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=FzRCkGzL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6si13181962pfa.36.2019.06.11.05.17.31; Tue, 11 Jun 2019 05:17:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=FzRCkGzL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388167AbfFKKzr (ORCPT + 99 others); Tue, 11 Jun 2019 06:55:47 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:6250 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387835AbfFKKzo (ORCPT ); Tue, 11 Jun 2019 06:55:44 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 11 Jun 2019 03:55:44 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 11 Jun 2019 03:55:43 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 11 Jun 2019 03:55:43 -0700 Received: from HQMAIL106.nvidia.com (172.18.146.12) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 11 Jun 2019 10:51:30 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 11 Jun 2019 10:51:30 +0000 Received: from dhcp-10-19-65-14.client.nvidia.com (Not Verified[10.19.65.14]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 11 Jun 2019 03:51:30 -0700 From: Bitan Biswas To: Laxman Dewangan , Thierry Reding , Jonathan Hunter , , , , Peter Rosin , Wolfram Sang , Dmitry Osipenko CC: Shardar Mohammed , Sowjanya Komatineni , Mantravadi Karthik , Bitan Biswas Subject: [PATCH V5 4/7] i2c: tegra: add spinlock definition comment Date: Tue, 11 Jun 2019 03:51:11 -0700 Message-ID: <1560250274-18499-4-git-send-email-bbiswas@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560250274-18499-1-git-send-email-bbiswas@nvidia.com> References: <1560250274-18499-1-git-send-email-bbiswas@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1560250544; bh=3cpCcddyT2qPq3Wnu1Z2qlvBOHM7S82lD9AAMomje2Q=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=FzRCkGzLNhRDWT3TAfS6/gz+KXwQWFs+l2fXSZEM8ZU7X+rV3jpIAHKdNiYWozGww K+zzHmpGsleu3sUjRuaJSqqx13uzHL31QNNbcxe5svtmox8A5SOKho/cMfgWRm85C7 EOwZ3NkRWkQkZkXkMdmXC5tlQA2UpSL6/ab0a2zTI6ljMXGzLOtJprfgJDTrtRYWYm Bgj3566S+2cjF435LTjwQKcE2GtcVbARDBkWR9JeS3H2Be9m0fpRaqBw37cNzKQfCq DX24KSDwJCMgE2d0VDv7sCEx7/Y/nrt+If6lvSP0JxFEu277PcTcPEdfiTl23ds3G8 aFr8NXdR7kejg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix checkpatch.pl CHECK as follows: CHECK: spinlock_t definition without comment + spinlock_t xfer_lock; Signed-off-by: Bitan Biswas Reviewed-by: Dmitry Osipenko --- drivers/i2c/busses/i2c-tegra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index 2d381de..bececa6 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -269,6 +269,7 @@ struct tegra_i2c_dev { u32 bus_clk_rate; u16 clk_divisor_non_hs_mode; bool is_multimaster_mode; + /* xfer_lock: lock to serialize transfer submission and processing */ spinlock_t xfer_lock; struct dma_chan *tx_dma_chan; struct dma_chan *rx_dma_chan; -- 2.7.4