Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp686443ybl; Wed, 4 Dec 2019 09:14:26 -0800 (PST) X-Google-Smtp-Source: APXvYqwHW8phqGWnTrWTzMVvfh6XG+C7k+ZTjbqLYPGjhjRqxC07Ovn3wyLOdVWnMUTjYXsfITLJ X-Received: by 2002:a05:6830:579:: with SMTP id f25mr3463889otc.248.1575479666157; Wed, 04 Dec 2019 09:14:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575479666; cv=none; d=google.com; s=arc-20160816; b=kdaNejObx0l8mUFjZeePZIf0ZuXGgNKL9Do3hVA1kvln73KMPQuHng1z8IN23as4GO XcZqMWDWScX66yvkawpqkI376KZheeNHuSmGqArTXVK/+0o6haWvZeQSds/7RS2/fUEi JAXulZiD5AX7TsnO1uvdpXTvKPglOJMcAXym7fCHE8o64WhLkF3p5KGOmaG0QnW+Fnwl f/M9zVs8EHLafTb9tUk6OnBweE4qu1vCLJM8oLYJV+0i7b6GTtXU6GwWyf9+dMnGOPfG IEuwMzshPXyeM2w8BgtFL4e9fune/mmwfw0Zq9MRAY6IaVYKq8PA/mINYGtTX99LF7sE Ldbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=n3XLmO85ZwEno7z3RMbjnpamy08ntSnCxld/tl/j/3M=; b=JdFaif8sHXw1GmJRXRbqWMvDWMa49uCg0BYScRvpy2aCb8sQf0yt5wZbXXlmqupOcJ E8q3qVyPB/OBFTFcBcnDQBcJmTewOvmNYMgvbWQ9SdYqiYT7pAEwBmWLVnYNvHJRJ8lk baSkdJk6EYtIxfjvisf0Yk9gZ5lPMXe8Zulu1AYPZZ2qMzqIDXIWsY/kV1tv1MQmRkf1 jcjWKKuLr8W1i2AshUat/0aUgraoht6itGuKJ7JnK9G9x1UZ2/fZ0+R3n+E6I1PRViIx U6uXdQxaDbUwSFhsGzwiC//nJ/HGOXQaFarorQi/oFMSA6+lGEMiEu8VCyRqdZnK/MVs w+gQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g205si3578206oif.178.2019.12.04.09.14.12; Wed, 04 Dec 2019 09:14:26 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728132AbfLDPOL (ORCPT + 99 others); Wed, 4 Dec 2019 10:14:11 -0500 Received: from inva021.nxp.com ([92.121.34.21]:36900 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727828AbfLDPOK (ORCPT ); Wed, 4 Dec 2019 10:14:10 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 287A42011F5; Wed, 4 Dec 2019 16:14:09 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 1C4F62011ED; Wed, 4 Dec 2019 16:14:09 +0100 (CET) Received: from fsr-ub1864-103.ro-buh02.nxp.com (fsr-ub1864-103.ea.freescale.net [10.171.82.17]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 89D92205C5; Wed, 4 Dec 2019 16:14:08 +0100 (CET) From: Daniel Baluta To: broonie@kernel.org, lgirdwood@gmail.com Cc: tiwai@suse.com, perex@perex.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Daniel Baluta Subject: [PATCH] ASoC: soc-core: Set dpcm_playback / dpcm_capture Date: Wed, 4 Dec 2019 17:13:33 +0200 Message-Id: <20191204151333.26625-1-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When converting a normal link to a DPCM link we need to set dpcm_playback / dpcm_capture otherwise playback/capture streams will not be created resulting in errors like this: [ 36.039111] sai1-wm8960-hifi: ASoC: no backend playback stream Fixes: a655de808cbde ("ASoC: core: Allow topology to override machine driver FE DAI link config") Signed-off-by: Daniel Baluta --- sound/soc/soc-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 977a7bfad519..f89cf9d0860c 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1872,6 +1872,8 @@ static void soc_check_tplg_fes(struct snd_soc_card *card) /* convert non BE into BE */ dai_link->no_pcm = 1; + dai_link->dpcm_playback = 1; + dai_link->dpcm_capture = 1; /* override any BE fixups */ dai_link->be_hw_params_fixup = -- 2.17.1