From patchwork Wed Dec 15 18:03:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjani Sridharan X-Patchwork-Id: 525025 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 07398C433EF for ; Wed, 15 Dec 2021 18:08:59 +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 2E20E1A60; Wed, 15 Dec 2021 19:08:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2E20E1A60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1639591738; bh=PfiEhUCIvbYuWf8+a4nP9ckDOMbofqkDlp1eI4obY0I=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=VjWPJm/MjlhusXXO8hXunagJ4yuTwG9O8+suxkiFO486Pw33T67H8rh0Wg4xkLzwc o9wdWc2pkERPcznUY9nK7FxxYoo7yBAiTnBGodzUI3nZSIoLiQqVEDdPfuKN3F0lcG liQOOt8zrWdkjfnyAs65l3fdoLIDV463Exq/8nww= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 553F8F8047D; Wed, 15 Dec 2021 19:07:02 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A13D8F80238; Wed, 15 Dec 2021 19:06:56 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 D5BB6F80157 for ; Wed, 15 Dec 2021 19:06:51 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D5BB6F80157 X-IronPort-AV: E=McAfee;i="6200,9189,10199"; a="302670988" X-IronPort-AV: E=Sophos;i="5.88,207,1635231600"; d="scan'208";a="302670988" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2021 10:04:10 -0800 X-IronPort-AV: E=Sophos;i="5.88,207,1635231600"; d="scan'208";a="662015010" Received: from manamie-mobl.amr.corp.intel.com (HELO rsridh2-mobl1.localdomain) ([10.254.37.3]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2021 10:04:10 -0800 From: Ranjani Sridharan To: alsa-devel@alsa-project.org Subject: [PATCH 0/8] Changes to SOF kcontrol data set/get ops Date: Wed, 15 Dec 2021 10:03:56 -0800 Message-Id: <20211215180404.53254-1-ranjani.sridharan@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: tiwai@suse.de, broonie@kernel.org, Ranjani Sridharan 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" This set of patches deals with modifications to the signature of kcontrol get/set data functions to make them more intuitive. The last patch deals with initializing the binary control data size after boot up. Peter Ujfalusi (7): ASoC: SOF: ipc: Rename send parameter in snd_sof_ipc_set_get_comp_data() ASoC: SOF: Drop ipc_cmd parameter for snd_sof_ipc_set_get_comp_data() ASoC: SOF: topology: Set control_data->cmd alongside scontrol->cmd ASoC: SOF: Drop ctrl_cmd parameter for snd_sof_ipc_set_get_comp_data() ASoC: SOF: sof-audio: Drop the `cmd` member from struct snd_sof_control ASoC: SOF: control: Do not handle control notification with component type ASoC: SOF: Drop ctrl_type parameter for snd_sof_ipc_set_get_comp_data() Ranjani Sridharan (1): ASoC: SOF: topology: read back control data from DSP sound/soc/sof/control.c | 61 +++++++++++---------------------------- sound/soc/sof/ipc.c | 49 +++++++++++++++---------------- sound/soc/sof/sof-audio.c | 33 ++++++++++----------- sound/soc/sof/sof-audio.h | 7 +---- sound/soc/sof/topology.c | 10 +++---- 5 files changed, 62 insertions(+), 98 deletions(-)