Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp897748pxb; Thu, 30 Sep 2021 21:26:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkwAuaNMz00NmfV3P6leVEASSUInGt6xe+qciah2TIeqCey9Vv7sTv3D+E1Pn7IVbpI5y6 X-Received: by 2002:a50:a2a5:: with SMTP id 34mr12018015edm.207.1633062407782; Thu, 30 Sep 2021 21:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633062407; cv=none; d=google.com; s=arc-20160816; b=O6hfmzmnjawOMBs4xwgdmH8vGLbXDPXZ49eF1Ou/MkT9hahF6btbHE2s4i2EEApaMH 4hhr1VcnRIxZus8b2jPHcOtwgEQEcNgt1sRxTl6VgUUHOwAarSJpUAiJ04yfE8B6+VPb OpOnq2toOukykIqLyVCFbCExTZf3OseYUfI/1iJoYq9VQg+heqIIh/o9b3sa+n1NxDbE bjIloWphw/uB3R1lrQdpULtkthCnXj+awOpQC7fSELm0FKjJq9yG+Va1pnD/yWukeBTD S4UnWLTnDqsvV6yc1MlNbxgJkBdUij1tuDfPm46HaykY9e8sFAgSJCHiA37aVA/Yq+up ttlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wgFdE0H/qv5ZWRJP9xTD+pLJ9cEplChQ663h0CMlG0I=; b=yU0OmkazPKCEcO6oVZUG6QkxzpPEJ8056A3eHdRT/7JGSMBJe6lPda8nxq3OYhgSng yj7GM7bXIphX112YQ1D7Qe24yxnKCTXcj+Aj+LqWHV+WGtf0isIpDjJmDFPTFj0/HTRN pPQ6D0HUMsYz9HdRawkZTrfNjd0C8JVRLxyXuEfwlB/A+Vd1dzGfgt1LEbbWNLjAqFjt eSwrGJ7CRei11UzgCANGZlZ75EjvoscyPntAzXrzqdli/jZhoWchyIYU5JvTAtYQxucN tdt9ReBY8kJcxUF8urZw7F4pqmGSmVOWBnnsDmloqJEmMxih+k9vj+Lq6VNec5bueMHe mIAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e0XOw8ZT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb13si9496330edb.627.2021.09.30.21.26.23; Thu, 30 Sep 2021 21:26:47 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e0XOw8ZT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237465AbhJAEZn (ORCPT + 99 others); Fri, 1 Oct 2021 00:25:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:49460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232679AbhJAEZm (ORCPT ); Fri, 1 Oct 2021 00:25:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 83DD3619F8; Fri, 1 Oct 2021 04:23:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633062239; bh=yPLO6sbNbrqRSdQVyGY0+tjRtqQaJKTwoi57bTd853k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e0XOw8ZTUdtwwELC3AtLEiizytz7XGc5A3HDFi8RP8mGO6UVkZ5KCwfYHyRm8jzRU GFwAmXSsYsJg6sBmtAgxB7rSRZXaEclMZ/M6JgysifZXxzoiUndBFY8MiiW+m+HZkv 3532b3ikJLxYD/RNfMuw14fqgX9XEKe/Ndk8AAdzc8hu1iHhKwheYmn3bY8mPfXS3O usZIWOIsgQVz8A/qa4E/WbMgW4baaTKAMxjI2MMO939ZOJycnL14jPQwfOd7sRoVQl hxc2I0Q/rvObtYKZZGCO/Lh+9kRY2O8FytqxPIF+fDwPzhF0yzjciqR5stM4WSVYIC e23JeTzP+hBEQ== Date: Fri, 1 Oct 2021 09:53:55 +0530 From: Vinod Koul To: Srinivas Kandagatla Cc: yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] soundwire: debugfs: use controller id and link_id for debugfs Message-ID: References: <20210907105332.1257-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210907105332.1257-1-srinivas.kandagatla@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07-09-21, 11:53, Srinivas Kandagatla wrote: > link_id can be zero and if we have multiple controller instances > in a system like Qualcomm debugfs will end-up with duplicate namespace > resulting in incorrect debugfs entries. > > Using bus-id and link-id combination should give a unique debugfs directory > entry and should fix below warning too. > "debugfs: Directory 'master-0' with parent 'soundwire' already present!" Applied, thanks -- ~Vinod