Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp200457imj; Thu, 14 Feb 2019 18:32:54 -0800 (PST) X-Google-Smtp-Source: AHgI3Iarhrd/rKKOD8qjqMWqOsjdNpfYazeroxC8lnCGTgSHcMIzRSoeQPAH3M4eWAs9mB14xZqF X-Received: by 2002:a62:4b56:: with SMTP id y83mr7336305pfa.235.1550197974917; Thu, 14 Feb 2019 18:32:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550197974; cv=none; d=google.com; s=arc-20160816; b=P5a84vso0NG7HeajU1X4za6yzkY1edNTzDIDymwgYQQh7DgdA5EEQzAnjjtH8ptfhc rnqw2/aawnrSmeOGfW6+4lp4ZNPSFCTQTho89C8swJsqdd0ib38gXjAIivBk9wxuB5G/ 9TgftGyHLazg/oj5jWjl4geWIZmkdxlXCXVOtHihWRUgJakW3ST5RUGiASMX8AkfCLG6 rgngH+vta9huAKIyfVBBygtN77UvvdV+egxxLnLEMWdf+FgUnx4jW3BRncCGJsuEM/Sn U8FBYCFS0TzXio3b27YUdwa1qz6oxrtmbroegqzwe2g9Vlh5Ea94IZiHUyJrL1/4PzF8 fugw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qKDNQXB7Esi3GYdDmy+bB+pdHlJMXGms2bWBT7amv0Q=; b=VAPxzxm/k0wrD9nttkw0xnuspi+7CAsk3lsaNyt0glsa0892RxN2WbxjOFreejOzsg PEhG/3j83iQfPJx+CDHb1lyBlU9o5KS/quI3D5ssEuuc3C/II3xlmCaEDqdKdv+JCamD ZAxvcgOANOIPekV9H5QPdSE1kMIFuZQPbUclh2GjmvRa5s0ym1KlzuERmGRQ58+RX/Cd JbOeebf2PunMwPOJOY93Wl2q4loSFv3O4biReNp7LgqNWXrCmDdZeZ4fy6V6kMH+t7Ix lJ9q/oW7adT9DZ2xZXw1nxb9Uoa//FVC+sx2Kvd7UNpB4AeCNrWpRF/2YN0kq8VQuY4a JQYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xODiuG7P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l94si4337863plb.209.2019.02.14.18.32.39; Thu, 14 Feb 2019 18:32:54 -0800 (PST) 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=xODiuG7P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406857AbfBOCSG (ORCPT + 99 others); Thu, 14 Feb 2019 21:18:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:55448 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392096AbfBOCPu (ORCPT ); Thu, 14 Feb 2019 21:15:50 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 488A9206BA; Fri, 15 Feb 2019 02:15:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550196949; bh=gxK/Rro34MmhJMYfF/7NpBvTEiZzb3QIbfPgIdOq9AA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xODiuG7PMwfwxs5j7GTcdb4oYIHbfA+NIFVklbUDt4NGkR/zEHBmVdL5g5gGFnc9F uU/lLh2BgxIhFi0sNlLcNBQ7gRx2ABhM11HyzYX8qUkFim2FM+c7qdZSA25gyGxLyv RlQxs3EcobwaaqsKtbM/YBdVgIVB5fB0rFJ6XzrM= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Rander Wang , Mark Brown , Sasha Levin Subject: [PATCH AUTOSEL 3.18 02/16] ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field Date: Thu, 14 Feb 2019 21:15:32 -0500 Message-Id: <20190215021546.179605-2-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190215021546.179605-1-sashal@kernel.org> References: <20190215021546.179605-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rander Wang [ 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 0e550f14028f..4aba2286a5ab 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 3981982674ac..0efd574d3770 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