Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp111293ybi; Fri, 7 Jun 2019 05:07:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwA6m2mXvpcOT+sCaeoEDFCRjjJQ1qrcEJZ1WDaMGFSmMMGQHXILauqFTzTOQUN31SI2w08 X-Received: by 2002:aa7:9203:: with SMTP id 3mr59263381pfo.123.1559909265868; Fri, 07 Jun 2019 05:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559909265; cv=none; d=google.com; s=arc-20160816; b=nNv8pdcimwiZHcM0WsT9dLwGm3TGyNaWjmoeADA9obiAx39zwX+dvRo1qls/iohBix 9PER24f5+awYd0keEDURUkz50Dcj8sPCyUqW8Uy4n8NjPa/GmM5keOdkKVDTxj4j8rmr q7Dusiymg+1NeyPVBdeQGGBn7pUDtvsyd9fea51S+vhthXCDmJtMEJEdnxcVEwKGZyzy uSGNIBY+mKF6AueMZBkzvQwZoGGtMosL0xOUWVe5GXtRT33OAag0ISOCyiRk/RnXpyC8 PSfZYFTB8BLLLQmbu95R+ieT5RJPoRrobwLONswtTtexUm5U7Jek1EYv9CNvTGmOcYtv /20w== 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=vwn0BnK9KQv+rbIRz/qE4vg8xTsBCjVMXUqL0MyZm58=; b=dp9N8uPiofKytnBC2+nCGog1J2+Ezd+i/UOOry2d2D0Do6k18LiJVFzWAiOcttMqDX E9TXlqgkXA3BfmiCRTmeizH+V15+rNyuJwmpxwcMJ820Hmr81u1My2Ihg8rNe+OSh/3R JHb0ym4whFjlvhh3v7Ad4oBGNjilRAYIFJ0rJVQUwTPvEMq3rIbRHLh8kZ6HTucs/RaP p6WZdbOt7I+zWHWrz1dogaMSuUn6sswtLpGfnP+Lru7i/y7PcsraggWXcWtOa4ucdq+y tDM+gRdziY4XTz2xkwRnqB6HGKtIl3ErQF84kQsyVYd4HUWECWHcy7xSs71qH76Sed38 YlpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=j3y+g01L; 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 c8si1524687pjr.17.2019.06.07.05.07.28; Fri, 07 Jun 2019 05:07:45 -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=j3y+g01L; 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 S1728949AbfFGLzb (ORCPT + 99 others); Fri, 7 Jun 2019 07:55:31 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:12532 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728917AbfFGLz1 (ORCPT ); Fri, 7 Jun 2019 07:55:27 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 07 Jun 2019 04:55:12 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Fri, 07 Jun 2019 04:55:27 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Fri, 07 Jun 2019 04:55:27 -0700 Received: from HQMAIL110.nvidia.com (172.18.146.15) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 7 Jun 2019 11:55:27 +0000 Received: from HQMAIL103.nvidia.com (172.20.187.11) by hqmail110.nvidia.com (172.18.146.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 7 Jun 2019 11:55:26 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL103.nvidia.com (172.20.187.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 7 Jun 2019 11:55:26 +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 ; Fri, 07 Jun 2019 04:55:26 -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 V1 4/6] i2c: tegra: add spinlock definition comment Date: Fri, 7 Jun 2019 04:55:05 -0700 Message-ID: <1559908507-31192-4-git-send-email-bbiswas@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559908507-31192-1-git-send-email-bbiswas@nvidia.com> References: <1559908507-31192-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=1559908512; bh=vwn0BnK9KQv+rbIRz/qE4vg8xTsBCjVMXUqL0MyZm58=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=j3y+g01LM/FerRvB0y5v/5fMKJ/AVduL/FTdnT1aoUTHHCsNEddANbQjXvzDYtBY4 d4u0dJ9Bq7025A3BRzM5Q39t/sUBEKkETsyuGXnt+yFUWhDTZX44Yj5LJh1lzZXmgQ /4NxqAQkLfk2+uz2zXAZ7aMAtzpDq4joFQOp6d1kiFLW3qGvYWIDrTCdZKuL0IpzQQ iBlgNK/LG6h383keIh/jT0jWijfDZej07QN8PvRXHhWKEeS95HbZ9K3RDOIk0OYZSQ waWvvCHGWjWkr6Cbrm067zDpm6VG80dG6EmvPqi907sQaxX1M7u9T0ciH1LzLYPMP3 uveDo/TF15zSg== 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 --- 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