Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp576632img; Fri, 22 Mar 2019 04:23:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5acj3WdD8LmHAQ9SvA+FIcGWjGRl5LECLFZDoUoKp9K6OoCRZoO46RJeaQT75zp4Ndb/H X-Received: by 2002:a62:6c6:: with SMTP id 189mr8530890pfg.36.1553253807895; Fri, 22 Mar 2019 04:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553253807; cv=none; d=google.com; s=arc-20160816; b=z1NIIy/rp0AoiiNNVR9y+TEizQwB2s2WGcMnPpavUnWw4uuPNb8YpFx3EXKB+WgBgW K3VTgCompKHjB/gC4ubYrXdM9aQLJh4vidxuU66WPqzgZsb5gVz2+lnaH4J7zXgQE8xb 7IkfGYqAtSiFrFOdnhK5oMmISVFsYVXt6Xxml7y5qIltmGaSHXKnNpEfRg0vR3nl1vM4 wlAc3Cw1N98YeimuE+OiWp9iKGRsp4TIWZbnUVfqp4eAZH70Pnn3kMso2s316FGs9/kW kjaQjAW/OBxfJNEq3IG2P23qTH7frCkERrHJKThZ17JBgJtRmWjeliHpe7hVEHaqvLWW bpKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kS46b5jlYVX4ycOAZpHHMIXOFQjxxwQGjAwWvKAzwic=; b=Xn27r2sLI30WjykybjfRtwH3RpFgtv27B27TRjnWlELEzDcwYDptVprceiMb5qqMMi aWP9FqzNOZwdNAZi5pfC9qdM4HegCZd7cEDcKGK3A21MNGlHiMudrrtansGfrcGP2tPI ITZoSlxzZq2A63gPRMwNnc9/JWhZ4s4LhIGoAlh7y0tTjCU8LlmF24bO/8QZrGilgE1Z kViqxrWJ+q77lZ8ZZESoBs45ozQ1oNRGSwRhEgBl/5WhefvH4GLSEMFOMEHQHQArH34h zP6t8IsC7SmYrZVHQS72doe5iOWnPmgdR9jbqcs6bil4sfyMF++xY7jryFA699O5LeZb IRYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LlcgaVzS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si6630026plk.323.2019.03.22.04.23.12; Fri, 22 Mar 2019 04:23:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LlcgaVzS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728457AbfCVLUt (ORCPT + 99 others); Fri, 22 Mar 2019 07:20:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:47136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728435AbfCVLUp (ORCPT ); Fri, 22 Mar 2019 07:20:45 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0C9EC2192D; Fri, 22 Mar 2019 11:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553253644; bh=DOPzwMYxU8EIVFdE8Gl2qZibhWS1Nrx0t8aJIxodI8o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LlcgaVzSmJG0xgFF4Q4EikyD5C6JMAWSdpIGbNHjCrDkbD9TUr1aqfY67WWa4M80H bZKuBcb1P9fotA5+DiblE1XWOzjHX8o1rElgBCO6TebWHtHkIoum6M/HEd/W6qwM/d OEUJ9gwlkwrYJEIfW8R/0IubMb1PDIWq+U5xSmuM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rander Wang , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 3.18 028/134] ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field Date: Fri, 22 Mar 2019 12:14:01 +0100 Message-Id: <20190322111211.822040130@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190322111210.465931067@linuxfoundation.org> References: <20190322111210.465931067@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 906a9abc5de73c383af518f5a806f4be2993a0c7 ] For some reason this field was set to zero when all other drivers use .dynamic = 1 for front-ends. This change was tested on Dell XPS13 and has no impact with the existing legacy driver. The SOF driver also works with this change which enables it to override the fixed topology. Signed-off-by: Rander Wang Acked-by: Pierre-Louis Bossart Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/broadwell.c | 2 +- sound/soc/intel/haswell.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/intel/broadwell.c b/sound/soc/intel/broadwell.c index 0e550f14028f1..4aba2286a5aba 100644 --- a/sound/soc/intel/broadwell.c +++ b/sound/soc/intel/broadwell.c @@ -168,7 +168,7 @@ static struct snd_soc_dai_link broadwell_rt286_dais[] = { .stream_name = "Loopback", .cpu_dai_name = "Loopback Pin", .platform_name = "haswell-pcm-audio", - .dynamic = 0, + .dynamic = 1, .codec_name = "snd-soc-dummy", .codec_dai_name = "snd-soc-dummy-dai", .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST}, diff --git a/sound/soc/intel/haswell.c b/sound/soc/intel/haswell.c index 3981982674ac9..0efd574d37706 100644 --- a/sound/soc/intel/haswell.c +++ b/sound/soc/intel/haswell.c @@ -146,7 +146,7 @@ static struct snd_soc_dai_link haswell_rt5640_dais[] = { .stream_name = "Loopback", .cpu_dai_name = "Loopback Pin", .platform_name = "haswell-pcm-audio", - .dynamic = 0, + .dynamic = 1, .codec_name = "snd-soc-dummy", .codec_dai_name = "snd-soc-dummy-dai", .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST}, -- 2.19.1