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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D03E3C4332F for ; Thu, 20 Oct 2022 13:39:37 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C0C979A97; Thu, 20 Oct 2022 15:38:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C0C979A97 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1666273175; bh=grnLHE+YE1HGZ/CUEnAERWySqLU/TIJDRyK1GH4fHTA=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Gbj0vSz/+eAqlSd4DbxzrNDOKODMS668AuCanI+JuocII1zaGEhCBX9eWS1X7TNxJ O9e+enRiVGUKvNg4h1IQv1rF4a3D3toijozQfliqV7sWkIoO/ULaavnT1+uLzokPUh B/0j9zY9QS9nNMPtUJQW8o7vi5A9XOnjQVda7ylU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6A80AF8032B; Thu, 20 Oct 2022 15:38:45 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B5D63F80137; Thu, 20 Oct 2022 15:38:44 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 74EF1F8032B for ; Thu, 20 Oct 2022 15:38:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 74EF1F8032B Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="RleB8S0c"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="C3QrWzxf" Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3351A1FEFA; Thu, 20 Oct 2022 13:38:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1666273121; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NL5GWO/Xja3xXX1RHSxJNricAQKMMFA3rarMPaUlxk8=; b=RleB8S0cLK73Cezb5+q+VpxgYG/uSsOnS82L+tWeDtTUZzQ4PC7gk4A27S/R7ShBTjj7Yb lc73Huty45b4L5D12oi3j7W+LWQFPsKrPOunmKt87M0yLTUEwfle2DahJYYQ48XsGCTMIS P7upx2P5FH9QiR2hp6BhKhR78Q3TD1Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1666273121; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NL5GWO/Xja3xXX1RHSxJNricAQKMMFA3rarMPaUlxk8=; b=C3QrWzxf+MZ+qygu+1RWFdXrRQCz1tPSyTgS7AOLDi0Xu2Gnhu2aM3BOuaBh9nz79YxbwK riHlWE3Nz+p2qrAA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1964013494; Thu, 20 Oct 2022 13:38:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id kAdxBWFPUWOESgAAMHmgww (envelope-from ); Thu, 20 Oct 2022 13:38:41 +0000 Date: Thu, 20 Oct 2022 15:38:40 +0200 Message-ID: <87tu3y8vj3.wl-tiwai@suse.de> From: Takashi Iwai To: Pierre-Louis Bossart Subject: Re: [PATCH 00/10] ALSA/ASoC: hda: cleanup sound/hda/ext code In-Reply-To: <20221019162115.185917-1-pierre-louis.bossart@linux.intel.com> References: <20221019162115.185917-1-pierre-louis.bossart@linux.intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel@alsa-project.org, broonie@kernel.org, Cezary Rojewski X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Wed, 19 Oct 2022 18:21:05 +0200, Pierre-Louis Bossart wrote: > > The code in sound/hda/ext can be cleaned-up. This patchset suggests a > more consistent use of prefixes and variable names. It also removes > useless code, uses helpers when possible, and clarifies an incorrect > assumption that SPIB/DRMS capabilities are tied to Intel multi-link > and DSP extensions (they are not). > > This is a rather invasive set of changes touching sound/hda, > sound/soc/intel/skylake, sound/soc/intel/avs and sound/soc/sof/intel, > but there should be no change in terms of functionality. > > I would recommend merging these changes through the ASoC tree. > > Pierre-Louis Bossart (10): > ALSA: hda: ext: hdac_ext_controller: use helpers in loop > ALSA: hda: ext: hda_ext_controller: use hlink variable/parameter > ASoC: SOF: Intel: hda-dai: use hlink variable/parameter > ALSA/ASoC: hda: clarify bus_get_link() and bus_link_get() helpers > ALSA/ASoC: hda: ext: add 'ext' prefix to snd_hdac_link_free_all > ALSA/ASoC: hda: ext: remove 'link' prefix for stream-related > operations > ALSA/ASoC: hda: ext: add 'bus' prefix for multi-link stream setting > ALSA: hda: ext: reduce ambiguity between 'multi-link' and 'link' DMA > ALSA: hda: hdac_ext_controller: remove useless loop > ALSA/ASoC: hda: move SPIB/DRMS functionality from ext layer Applied now to for-next branch. Mark, if you need those changes in your tree, feel free to pull from topic/hda-ext-cleanup branch of my tree. I can add the tag if needed, too. thanks, Takashi