Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA21BC00A89 for ; Fri, 30 Oct 2020 12:44:20 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C88FB20756 for ; Fri, 30 Oct 2020 12:44:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="CoSL4a2r" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C88FB20756 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 1E2B21654; Fri, 30 Oct 2020 13:43:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1E2B21654 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1604061858; bh=uzDW1hMYxekseheUwiEzlYXAvDyK68umlKTHyEkHIZY=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=CoSL4a2rYBZsGJKyiT1iBIwfrnz2dCSOOJzaKgTqpS/yOCAkVzm9hqqH2RHmPGlNd HwB+JANy09LxhA1MhZpeTRMH5UP1Kaikz4d/5t77It1F7yue6Fn6OrbNXseIAz1rGq mMgTgWbb/uTY+eTbFTCrKuyu+BaMfwwycWKZVakU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8A2E0F801D5; Fri, 30 Oct 2020 13:43:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 15AA4F80212; Fri, 30 Oct 2020 13:43:26 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 079CDF800C0 for ; Fri, 30 Oct 2020 13:43:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 079CDF800C0 IronPort-SDR: x61Bekwm140BvFm5eDITAO4j85HcTrrs3IThiaeRnd2U8aMph1SZxEqH+3znOkWHFooxZNV+xc uGaPXVsU2I9A== X-IronPort-AV: E=McAfee;i="6000,8403,9789"; a="156374081" X-IronPort-AV: E=Sophos;i="5.77,433,1596524400"; d="scan'208";a="156374081" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2020 05:43:20 -0700 IronPort-SDR: sx4mHveyVN1O6cluDDq9SRM8hrAN4F/4UUii79skx3KKSt61DcjEQwTOm9YFlrG4BsJwqe3i/F Q5mjVHG1sfeA== X-IronPort-AV: E=Sophos;i="5.77,433,1596524400"; d="scan'208";a="527101397" Received: from aslawinx-mobl.ger.corp.intel.com (HELO [10.249.142.235]) ([10.249.142.235]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2020 05:43:18 -0700 Subject: Re: [PATCH v3 0/7] ASoC: topology: Change to resource managed memory To: Liam Girdwood , Mark Brown , Takashi Iwai References: <20201030145427.3497990-1-amadeuszx.slawinski@linux.intel.com> From: =?UTF-8?Q?Amadeusz_S=c5=82awi=c5=84ski?= Message-ID: <80326d15-a19b-364f-2995-09eb4ce04a84@linux.intel.com> Date: Fri, 30 Oct 2020 13:43:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201030145427.3497990-1-amadeuszx.slawinski@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Cc: Cezary Rojewski , Pierre-Louis Bossart , alsa-devel@alsa-project.org 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 10/30/2020 3:54 PM, Amadeusz Sławiński wrote: > Almost all other allocations in ASoC API are resource managed, the only > exception is soc-topology.c. > > This patchset clean ups few unnecessary functions in preparation for > change and then changes to devm_ functions for allocation. > > Amadeusz Sławiński (6): > ASoC: topology: Remove unused functions from topology API > ASoC: topology: Remove multistep topology loading > ASoC: topology: Unify all device references > ASoC: topology: Change allocations to resource managed > ASoC: topology: Remove empty functions > ASoC: topology: Simplify remove_widget function > > include/sound/soc-topology.h | 13 +- > sound/soc/intel/skylake/skl-topology.c | 9 +- > sound/soc/soc-topology.c | 302 +++++-------------------- > sound/soc/sof/pcm.c | 2 +- > sound/soc/sof/topology.c | 4 +- > 5 files changed, 57 insertions(+), 273 deletions(-) > Eh... and of course I've messed up something, there shouldn't be v3 in the topic of cover letter ;) I can resend if you want?