From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1D22C433FE for ; Tue, 12 Apr 2022 12:09:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242515AbiDLMLV (ORCPT ); Tue, 12 Apr 2022 08:11:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354699AbiDLMKU (ORCPT ); Tue, 12 Apr 2022 08:10:20 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97F876E542; Tue, 12 Apr 2022 04:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649761939; x=1681297939; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=z9qRvBkKuAStE4W4+5TXrpgRMO8sNJUiwpVjTLiS+Ow=; b=MVLfVfyXD5CPnHF9NPXaFOK66nWS9bDMvrl+DbJjxvbKJuBpWpnYX5CG OyG4BojdGqLNPFMVW37D9nGHvCHYEfAoCFd+AGw+/MZEXlyd7C3xubWWj 8E0ZaPyOvtKo47SFWvdWhJzby6n+Wn3cqeNi598IAFOfoy0RE4XecDUfV WehOjFRKO2SjXfTPRf8p4tBbxeQ1Mpj7OWHMSDWVrqSQv1mZF+f/XAJzb 6aFuxgE0XV/ZNMsL8JUeoo1eHnJtw/sTOSImH3Qg/DAKRHL+TgOlULsBL F0QDEQDt3xe1dm0zFF2GhcwU6tCkrfz1V/Y3iWPHfLQhe9NHAP3ujeIEV A==; X-IronPort-AV: E=McAfee;i="6400,9594,10314"; a="261786941" X-IronPort-AV: E=Sophos;i="5.90,253,1643702400"; d="scan'208";a="261786941" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 04:12:19 -0700 X-IronPort-AV: E=Sophos;i="5.90,253,1643702400"; d="scan'208";a="507505520" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 04:12:13 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1neENu-001Ycb-07; Tue, 12 Apr 2022 14:08:34 +0300 Date: Tue, 12 Apr 2022 14:08:33 +0300 From: Andy Shevchenko To: Miquel Raynal Cc: Magnus Damm , Gareth Williams , Phil Edworthy , Geert Uytterhoeven , Vinod Koul , linux-renesas-soc@vger.kernel.org, dmaengine@vger.kernel.org, Milan Stevanovic , Jimmy Lalande , Pascal Eberhard , Thomas Petazzoni , Herve Codina , Clement Leger , Stephen Boyd , Michael Turquette , linux-clk@vger.kernel.org, Viresh Kumar , Ilpo Jarvinen , Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH v9 5/9] dmaengine: dw: dmamux: Introduce RZN1 DMA router support Message-ID: References: <20220412102138.45975-1-miquel.raynal@bootlin.com> <20220412102138.45975-6-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On Tue, Apr 12, 2022 at 02:06:31PM +0300, Andy Shevchenko wrote: > On Tue, Apr 12, 2022 at 12:21:34PM +0200, Miquel Raynal wrote: ... > > + clear_bit(BIT(map->req_idx), dmamux->used_chans); On top of the previously asked, are you sure the use of BIT() is correct here? -- With Best Regards, Andy Shevchenko