Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1407347ybi; Fri, 2 Aug 2019 15:11:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHOmBBHmhatF5dEBAs7qYo/EHnYYgAnqigDHZIvDH5KifnK6NzlxYqY2gzUc6/qPXoTSb8 X-Received: by 2002:a62:5487:: with SMTP id i129mr63722108pfb.69.1564783866868; Fri, 02 Aug 2019 15:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564783866; cv=none; d=google.com; s=arc-20160816; b=ntBmIpSbLv9hI+gFZT2TXRhn/H+5lsXEx2oSfeV/f6IuQ7qHD7bRZIPP3fI/7zhacS 01OcOK3Q4vSmi1bjQiNVO8+S8Gu/MrhbTj9lvPDqeZDkV66S4uftcGukp47vxnFM90+Q rdVHb6/HQmGZScPptqu/fYc5sJ0PLmImOqxqXwVqJc1XuTLmOxLqYJ2NBPb71v2MN+J4 gtjfthIoDLrD8SNxmFAv8TC1fV1nn819yH4P5JidZjINkfMHKcsCaZ7/A4oCy80oo5yr Vv3osmeXvfCzMPlmfSKxTYR2aZOsqStMGxYW6jjuKb02XyjAw99Ipg4bHSPTymXKtg5c hgEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GKuo+LVnTmN0uf4qWb4P29oIkgpw3iVNKW2fteLDTGo=; b=sFZuXtA3UoKOa6IpRzTIpBBAUJ0UQMAq1sS3GKPEcPCXj8OesCGxQYLKryEFGE1q9n Z88FxB+TVVFoKvlzeal163xZKyQJFqqHILAMCr5Qsmz7OSHPGX/gKVkQuijLZrkQAkxW V4zLjGCfqaE30+MQUG+kMWA4mrmY9y1pRTzBcwBUMgnOjGaEdB8AouDEccFLWqoRLqs+ eA9U1wIdmQVRGxDCWIRVgSgWHzYRaj9VyP7YS4K0yh+8XjNz3oWug8U/UtLGP/R5oH+A +VWQnFnWXOr/0qfJbClZvVfJI2pE3czjCquYGPqJOFoHyajNxpaqu/RC/l9HFcr+j/Va a5ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="LPD/PHOb"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cd17si37760117plb.210.2019.08.02.15.10.51; Fri, 02 Aug 2019 15:11:06 -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=@kernel.org header.s=default header.b="LPD/PHOb"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733110AbfHBMJG (ORCPT + 99 others); Fri, 2 Aug 2019 08:09:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:58068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729980AbfHBMJF (ORCPT ); Fri, 2 Aug 2019 08:09:05 -0400 Received: from localhost (unknown [122.167.106.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 522EC2087C; Fri, 2 Aug 2019 12:09:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564747745; bh=eVguHjWk86Hw5IEsVwfh49P+hgbGzKP3Oa7z7KVVRYQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LPD/PHObEaYLp7Mc5qXaIQNRs31OhOQmDmgl0SDT6i5BHh2C9ufMyiy5qWMmPatXF zx2q53UkGHNF6orYqgdjizHJ9sf7mKfLm/e6uGJ88SJyMy6r+FNZc23bS53R1nPSvA e4iAgrX6CdlwaUq1DEov5NYy9r1sljbalnE23WyY= Date: Fri, 2 Aug 2019 17:37:51 +0530 From: Vinod Koul To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, tiwai@suse.de, broonie@kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, slawomir.blauciak@intel.com, Sanyog Kale Subject: Re: [RFC PATCH 11/40] soundwire: cadence_master: simplify bus clash interrupt clear Message-ID: <20190802120751.GM12733@vkoul-mobl.Dlink> References: <20190725234032.21152-1-pierre-louis.bossart@linux.intel.com> <20190725234032.21152-12-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190725234032.21152-12-pierre-louis.bossart@linux.intel.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25-07-19, 18:40, Pierre-Louis Bossart wrote: > The bus clash interrupts are generated when the status is one, and > also cleared by writing a one. It's overkill/useless to use an OR when > the bit is already set. IIRC we were supposed to have different variable and that was the reason for setting, yes should be removed. I have applied this one as well -- ~Vinod