From patchwork Sun Oct 11 18:22:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 11831017 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6D04215E6 for ; Sun, 11 Oct 2020 18:25:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3E8012222E for ; Sun, 11 Oct 2020 18:25:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="r3kwy+rF"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="ZCXt7CbB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E8012222E Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:MIME-Version: Cc:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vHdN9c3gmAX1aUxYmWRYjTge27lIzYCf1UBI9n2gCFU=; b=r3kwy+rF/V1f4cMocY5hP6JOH AHPkP3N8IKC5coeC9Xzt3crWfCbGYci1md5zq+jkojsV6eQTC4b2JC/8xiJd/LFZ6AcjPkN1lOn/G qMrAFloI9fC40f+cRoyLcmHtWjOCuyMotT8W/OsQx5LnMXP1JbRP+38wkAjWlDuUPAhf+wnBIPCca It3qy10h71K3C7y8SUDYsWTJi5if/+BORHX0H2KlTlf2mZCWY+RSXieta1TK02oTgST+Y5Pg/QuRY lYZXx6qGbqGVtSfKvk1BkNkWo6M7oKuNg7xKuDTYOAsOLdCoCCEYTTyRF7fXh1MxeA4YLNKnQEEz2 tYZa13Sjg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRg0k-0002R2-Av; Sun, 11 Oct 2020 18:23:58 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRg0g-0002Pm-4C for linux-arm-kernel@lists.infradead.org; Sun, 11 Oct 2020 18:23:55 +0000 Received: by mail-pf1-x442.google.com with SMTP id k8so11357325pfk.2 for ; Sun, 11 Oct 2020 11:23:53 -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=wBlBpjFnsiVST0Zr4DfXY7At1qhspV+RS815yuI5Zog=; b=ZCXt7CbBDXozt9L7S1zuYDBIcuBGS3mxFb9h0soVivYf5NOkdmPlsSSr9b+xJ40C/e KID35B0N+VaJxNBhYnxQHEW2gV3M7Er4CipJw5c0b0RsAUA5bswGJhObHPhtn+bTMMiI pghlzsChWjQITdxhLhZZ/1UYIQRotfWcWBtEk= 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=wBlBpjFnsiVST0Zr4DfXY7At1qhspV+RS815yuI5Zog=; b=h/lQhf0U0LnH+lKCTCkPGsgkjr9lPwzlGB4IEjtoWbizQruBaIz6wO+JtYvN6IS7O/ X+uWhdrbe1EJiOA47EvL77b1+A4Lz18ARoeOUqa7Jn9e1+G5lQODSGM5QxAE9BE8DzCh 7cm8xKbYlfCVJdt9khP+X7op0gBGgq+cd6TP6abWAs3mdyAW2d0t7zSMrJ1ROY7x4/X/ f2pZ86SB9uY21VQ2zck9RTEt/r7z+82Hroo75y248yEZxfGclni5LC4yh2H/f/6K9I0j T67bsh3HMjU6n8Pav58jvD1egptZAsg0CQT1LZSBjTnis+56UMcJ9D0A7p6ONQhqibVW 6JhQ== X-Gm-Message-State: AOAM530YcLVB75BVnUDiw6Ns3oD9l/mXh8+gbW3WDqOolu/zYCWswTzG bjkKiz2tOjAIjG9g0bv3BsVAGQ== X-Google-Smtp-Source: ABdhPJwmEFMYp86guBbSRyu1QnFpF/2fczMooDD+Dfw6LItBeV0cEn5IJQkvgU2BP/NCyw9coDmMMA== X-Received: by 2002:a17:90b:33ca:: with SMTP id lk10mr15151821pjb.221.1602440631908; Sun, 11 Oct 2020 11:23:51 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Oct 2020 11:23:51 -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 Subject: [PATCH v1 3/6] i2c: iproc: update slave isr mask (ISR_MASK_SLAVE) Date: Sun, 11 Oct 2020 23:52:51 +0530 Message-Id: <20201011182254.17776-4-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201011_142354_216373_1B0FD678 X-CRM114-Status: GOOD ( 10.78 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_TVD_MIME_NO_HEADERS BODY: No description available. 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without required MIME headers -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rayagonda Kokatanur MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Update slave isr mask (ISR_MASK_SLAVE) to include remaining two slave interrupts. Fixes: c245d94ed106 ("i2c: iproc: Add multi byte read-write support for slave mode") Signed-off-by: Rayagonda Kokatanur Acked-by: Ray Jui --- drivers/i2c/busses/i2c-bcm-iproc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-bcm-iproc.c b/drivers/i2c/busses/i2c-bcm-iproc.c index b54f5130d246..cd687696bf0b 100644 --- a/drivers/i2c/busses/i2c-bcm-iproc.c +++ b/drivers/i2c/busses/i2c-bcm-iproc.c @@ -216,7 +216,8 @@ struct bcm_iproc_i2c_dev { #define ISR_MASK_SLAVE (BIT(IS_S_START_BUSY_SHIFT)\ | BIT(IS_S_RX_EVENT_SHIFT) | BIT(IS_S_RD_EVENT_SHIFT)\ - | BIT(IS_S_TX_UNDERRUN_SHIFT)) + | BIT(IS_S_TX_UNDERRUN_SHIFT) | BIT(IS_S_RX_FIFO_FULL_SHIFT)\ + | BIT(IS_S_RX_THLD_SHIFT)) static int bcm_iproc_i2c_reg_slave(struct i2c_client *slave); static int bcm_iproc_i2c_unreg_slave(struct i2c_client *slave);