From patchwork Mon Mar 12 18:17:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 131394 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp1063965ljb; Mon, 12 Mar 2018 11:17:18 -0700 (PDT) X-Google-Smtp-Source: AG47ELsHnaNlDfPAUVoXKGscctaTRMy4SsHrw4b+Z+iKwNHTWg5rW6Vsg9k3LEN98VErmTquI2Bj X-Received: by 10.28.109.148 with SMTP id b20mr6764531wmi.92.1520878638790; Mon, 12 Mar 2018 11:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520878638; cv=none; d=google.com; s=arc-20160816; b=w9vJRTh4cSy+48/3+SEHS9Fplj16lPhEqElN2g7gY5+9Xfg2QsAMxLBz3gvGcrlGUW 96ZWXbsjL3nuj2nmOcGzHm5/M1jwyY9Fm6H4y1VHzhOOJ8pm/kEBszis5hoakSWVbbsJ yjMVHwJw0QF7mnlCJfSpoOc1GXJ1Um/9r5uXXOHrG8A7Ju4xQpG5sRUoax8ex10iP68b RNH+l4hoVy9cLBXVQE00g2IHSk9otiG+ppZ4GfuXuLYNMoaAaKTUz5obiwQGUM4YiIwc hkQo/yJiL+1yCH+gkTVwi1FKcnQm8UXJKaXifg1QzxcLQEhDT3hxoSx0mLsGXLD6bNjP gD1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=U4wHhW/iLzpeeq2gwMWXI2VNucOXLYCxeBByJHEqca4=; b=pgHx8LmLDD7R/+p9+72oYeLMMkz05LTHJTI4tJ+YX1bAQGHkWFYdEtj+iEj6NlyMih 3Kca+efIG/70A82mwJ/7E23sTuI6PdwNygSgJ9j+v04UcoqRpyrqJwA5QH2nmaEZhI6s cQQbKesZHGZPZeeAwgHPwLK+JbLxe6LAxkLdRSEZVRu2tDcQkuXMfjdTgCxgDNPbAGbB 1pQxPX2CztIRYivGDDXa9EVMvcwl5VGd5IrIot9hm3DILA1ebiTzdtoSJ2KS5rvAbZEJ 93y8aDLTjnjvfSuqIz5+n05uEPNm/zgkc1LgcE+emxqwHvcP2fWEbGZXTjraoWwqavZu +vpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=BVcoyRpO; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 65si5323412wro.234.2018.03.12.11.17.18; Mon, 12 Mar 2018 11:17:18 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=BVcoyRpO; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 5C80B266E63; Mon, 12 Mar 2018 19:17:15 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id AD459266E78; Mon, 12 Mar 2018 19:17:12 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id A796A266E43 for ; Mon, 12 Mar 2018 19:17:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=JOgQXf3yFnZNA8w3wM16LYeA1kFMsIbTRAyHo6T4hGE=; b=BVcoyRpOP+af wvB8UTySnj78e+t/JIsSsbkmbh5eSJtBp651FEmSm9UhPGoT4ElL6uRhauK5viZGYL3nXSpcsmbPJ 7IeUU5paksb47g2Ntf7z5P5lGwY62LCcViwS6AOkS0Zp9wLO6Gd16g/jdaU0bTELUM/z92Prm5fjB PlpFQ=; Received: from [65.153.83.185] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1evS0R-0006A9-JV; Mon, 12 Mar 2018 18:17:07 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 9CCBD440079; Mon, 12 Mar 2018 18:17:05 +0000 (GMT) From: Mark Brown To: Ranjani Sridharan In-Reply-To: <20180309191117.9028-1-ranjani.sridharan@linux.intel.com> Message-Id: <20180312181705.9CCBD440079@finisterre.ee.mobilebroadband> Date: Mon, 12 Mar 2018 18:17:05 +0000 (GMT) Cc: liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org, broonie@kernel.org Subject: [alsa-devel] Applied "ASoC: topology: create TLV data for dapm widgets" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: topology: create TLV data for dapm widgets has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From bde8b3887add8368ecf0ca71117baf2fd56a6fc9 Mon Sep 17 00:00:00 2001 From: Ranjani Sridharan Date: Fri, 9 Mar 2018 11:11:17 -0800 Subject: [PATCH] ASoC: topology: create TLV data for dapm widgets This patch adds the change required to create the TLV data for dapm widget kcontrols from topology. This also fixes the following TLV read error shown in amixer while showing the card control contents. "amixer: Control hw:1 element TLV read error: No such device or address" Signed-off-by: Ranjani Sridharan Signed-off-by: Mark Brown --- sound/soc/soc-topology.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index 01a50413c66f..e81b52600d58 100644 --- a/sound/soc/soc-topology.c +++ b/sound/soc/soc-topology.c @@ -1272,6 +1272,9 @@ static struct snd_kcontrol_new *soc_tplg_dapm_widget_dmixer_create( kfree(sm); continue; } + + /* create any TLV data */ + soc_tplg_create_tlv(tplg, &kc[i], &mc->hdr); } return kc;