From patchwork Sun Oct 11 18:22:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 269630 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, T_TVD_MIME_NO_HEADERS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5D1DC43457 for ; Sun, 11 Oct 2020 18:24:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 754962222A for ; Sun, 11 Oct 2020 18:24:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="aPkpklKt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728542AbgJKSX7 (ORCPT ); Sun, 11 Oct 2020 14:23:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728464AbgJKSX6 (ORCPT ); Sun, 11 Oct 2020 14:23:58 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CBFAC0613CE for ; Sun, 11 Oct 2020 11:23:58 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id e10so11356169pfj.1 for ; Sun, 11 Oct 2020 11:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ffic9cjBVd53stj/GKBHzkQsPwbSNBr60t/cZU/O6hg=; b=aPkpklKtQAH+4gqZ7UijzuboAaX61x1UblDiHNv7rxJ9hNzVYDrGnG1FyMboGaJq+k tIt82UGIuay3v62BtfZDWYGN0/mwrjg63poxfKeC812oLFujhxNkX5zTNw2dZ9GmMnDy 8ZZmk0s4UDws2x96STb/niQahBMR9/KG3DuwU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ffic9cjBVd53stj/GKBHzkQsPwbSNBr60t/cZU/O6hg=; b=enHplJrIjK3jnJXT8B/YHAWudQFaugQUl1FkOCw43qkZ1+lom6Fwq4T6NCUlOnAjwH SIMNY0DqRxRivGdJpDuX6EFZPHWC1BCR3r5fOeHsgksFzHsaUuL0BLf+ypyJdHcO/v5c fGuVUVIoQ+U5DOtB0aHm7miR9AlR8CeoSabnKTtVBY2qMOs89BBC2CF5G/ytiit6i9ZM +hVulTC4Oh3EKHnTt33eR89Ypjii7rZ1tsp9hU65YufYRVgjkKTaki3ixHmwxNqxhMc5 haEDAhA9yXtYY95ima1J7yyXlLIOywP6UdKBNQEJPjixWzU5MfkuXZAuSj//xIiHF15M ndhg== X-Gm-Message-State: AOAM531mUAOLs9ZF0UwVve7My9XkqqBRVE43icBafxs1+8hmG28N1t80 GT+GfjDEecU9A1Oe+iyvxOixuuN5zSVkiw== X-Google-Smtp-Source: ABdhPJxmqj6Lh3dwIQFbEVlXnmf1iPdHyrrcYGDf+sIaC00Zc3j0W7X7WVegYGN4foRe7zNHxf5EdQ== X-Received: by 2002:a17:90a:8a04:: with SMTP id w4mr14367991pjn.201.1602440637809; Sun, 11 Oct 2020 11:23:57 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id g1sm21977807pjj.3.2020.10.11.11.23.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Oct 2020 11:23:57 -0700 (PDT) From: Rayagonda Kokatanur To: Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Wolfram Sang , Florian Fainelli , Brendan Higgins , Andy Shevchenko , Lori Hikichi , Dhananjay Phadke , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rayagonda Kokatanur Subject: [PATCH v1 4/6] i2c: iproc: fix typo in slave_isr function Date: Sun, 11 Oct 2020 23:52:52 +0530 Message-Id: <20201011182254.17776-5-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201011182254.17776-1-rayagonda.kokatanur@broadcom.com> References: <20201011182254.17776-1-rayagonda.kokatanur@broadcom.com> Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fix typo in bcm_iproc_i2c_slave_isr(). Fixes: c245d94ed106 ("i2c: iproc: Add multi byte read-write support for slave mode") Signed-off-by: Rayagonda Kokatanur --- drivers/i2c/busses/i2c-bcm-iproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-bcm-iproc.c b/drivers/i2c/busses/i2c-bcm-iproc.c index cd687696bf0b..7a235f9f5884 100644 --- a/drivers/i2c/busses/i2c-bcm-iproc.c +++ b/drivers/i2c/busses/i2c-bcm-iproc.c @@ -382,7 +382,7 @@ static bool bcm_iproc_i2c_slave_isr(struct bcm_iproc_i2c_dev *iproc_i2c, if (status & BIT(IS_S_START_BUSY_SHIFT)) { i2c_slave_event(iproc_i2c->slave, I2C_SLAVE_STOP, &value); /* - * Enable interrupt for TX FIFO becomes empty and + * Disable interrupt for TX FIFO becomes empty and * less than PKT_LENGTH bytes were output on the SMBUS */ val = iproc_i2c_rd_reg(iproc_i2c, IE_OFFSET);