Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2296127pxu; Fri, 9 Oct 2020 12:57:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbFGkxs1yctnNTJLzpNESB9qPIrIlE2OUNkBv9zOm+CSRG096xipt7pbxDdJwbWExUxC4R X-Received: by 2002:a17:906:e10e:: with SMTP id gj14mr16681820ejb.134.1602273463302; Fri, 09 Oct 2020 12:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602273463; cv=none; d=google.com; s=arc-20160816; b=vZgp381GtAXZybnIKw+Z4jGGxZ4Fawg1ZeeomLjihkbPRgcGSa0X0XNX3P2E+tDR6z XJsv7FqwR1AX7XJeu1zTQEFGVAvIX6x6a8CXGxogiaNBTSEhpPMCJuX6g4W7hJV1ZXcJ uR85FxF3fIpKzF4xeSX6/QwK/TRpX3p9WLZmqvQlYiBhiK3anz4i+lbN9J1pPmWvgGlG pJekdiVe3HG55SF8dlbzDSjJ1eEpXgIP/W4OqsSDXU81gZggHJVAj3i1rq0Y2UvsJ58v ikXZ78r9156IW7vKoukoTmfiXvMPNHVzPVhIr9L9uoMqVU2/P0yfaDXHsJocqTxZ2oxO 0C5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=6Gw4fclsngqy136soib7oAPqdYVkFmbbxkmRIKas5S0=; b=06UyJ42RwGqN5k8qdDBUpveQuX9gxnzxOulxn1fFWb/AjIb4yjSC1CjYFvS2ZuaQWE i3nbFzsOntF4pA35Qizsj3b5tc27+xr9e4nXoNHCthLv3xe0yq1m+j73yEDomGnoEXot K6XJxsYyLgXY9eNErDa3vDvGGu2/Pb8ZNm0R6SbQkNjxY9D6eupysoQZw1gFsfQOFwcR hHDW9wFknDJ35oPDzaNAV8ycsWN2CZVwCvuUcssbQo5RI9ueFUTj4/BGbgOvqSdXLh8e CP9/4xifHLwE0iQuMwDwSyMBfxKsIOcRyYXzbLwIM/BPjbz91VdCZaS9mmiU8NOwDdP7 GhxQ== 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 r22si6372558eju.372.2020.10.09.12.57.19; Fri, 09 Oct 2020 12:57:43 -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 S2390387AbgJISYk (ORCPT + 99 others); Fri, 9 Oct 2020 14:24:40 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:39371 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731198AbgJISYj (ORCPT ); Fri, 9 Oct 2020 14:24:39 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4C7Ggl6dbdz1rsMq; Fri, 9 Oct 2020 20:24:35 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4C7Ggl5Rsxz1qrDV; Fri, 9 Oct 2020 20:24:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 2mbYlDZWbOcq; Fri, 9 Oct 2020 20:24:34 +0200 (CEST) X-Auth-Info: LZoooTdPUM9XaQoDhU03clxRO+LEeX6w/lImTE/OmOPPBdMcRJILnzkfJa/RlVrk Received: from igel.home (ppp-46-244-168-131.dynamic.mnet-online.de [46.244.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 9 Oct 2020 20:24:34 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 17F1F2C2864; Fri, 9 Oct 2020 20:24:34 +0200 (CEST) From: Andreas Schwab To: Sagar Shrikant Kadam Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-i2c@vger.kernel.org, peter@korsgaard.com, andrew@lunn.ch, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Subject: Re: [PATCH v2 1/1] i2c: ocores: fix polling mode workaround on FU540-C000 SoC References: <1602257980-375157-1-git-send-email-sagar.kadam@sifive.com> <1602257980-375157-2-git-send-email-sagar.kadam@sifive.com> X-Yow: Dehydrated EGGS are STREWN across ROULETTE TABLES.. Date: Fri, 09 Oct 2020 20:24:34 +0200 In-Reply-To: <1602257980-375157-2-git-send-email-sagar.kadam@sifive.com> (Sagar Shrikant Kadam's message of "Fri, 9 Oct 2020 08:39:40 -0700") Message-ID: <87pn5rp89p.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Okt 09 2020, Sagar Shrikant Kadam wrote: > diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c > index f5fc75b..9b3d1ab 100644 > --- a/drivers/i2c/busses/i2c-ocores.c > +++ b/drivers/i2c/busses/i2c-ocores.c > @@ -686,17 +686,21 @@ static int ocores_i2c_probe(struct platform_device *pdev) > > init_waitqueue_head(&i2c->wait); > > + /* > + * Set OCORES_FLAG_BROKEN_IRQ to enable workaround for > + * FU540-C000 SoC in polling mode. > + * Since the SoC does have interrupt it's dt has the interrupt Typo: its Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."