Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9105789pxu; Mon, 28 Dec 2020 06:47:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTZK8bMEHqBmcQjv905mS3iI68yf/sUASdt51V+mQZpelV3bywPOSP/e2vgeTWSKY3YDWJ X-Received: by 2002:a50:bb44:: with SMTP id y62mr42445071ede.103.1609166829398; Mon, 28 Dec 2020 06:47:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609166829; cv=none; d=google.com; s=arc-20160816; b=u5OwIRV2zfu7TVb//c4Y4yLnaeoLPJ3XFjhlb/0tMki+KkyR0A8WTiYfWWdv+8Qgza Vq5LMIapnE2pKlpkNfMmeA3vQU7LwpmUlH5HvhoKlvRQj7aoMW6IKac8+qJBtEXQWLYt RxzIANDSiFVcjW8Neiax5eCc5aFRtiAxnLi4PWJMh6tvQSi9XUOmKW3oj9ptDhNH8eH2 VoCpG29dNdYX8Ro6kAwx17PZbo+lFyCqMxYmpHZHfhiRcn4p9yttMOdCf+TyKrb6eu4G /vaHEXzR7Sf9VkUKaqy7pp4hl7vsZ6P5p+2dccT2HUkLs70VawLlUxjw+GJGSW2hhcXc ZHvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=38i62CQwaK8EnOgBvwFPQE9BlC+PnTB5L4626XX+Tqo=; b=apQjlRC9WyTtECV1G8NpnaM6fuZD/Yv/mP03tUtuZ+Xqg4XBfJ7IGbwZ1VLv7vcn5E 7LLsPeMkBKWDaXE8eHbOlVfTlK7dorl9aBCbiI+FJRdRXx+Y8+nQMwhZrSg+zQbiTYCd IuDX70QYEjUHnFH75WykKntSCe8KirDzkhLwiL9T/+iAbOrbzoILVe+05Q15UM/rXkaO /bB6uTi4xbpLN3PG8BNM6mvnpIvay8qVcIe3Ki9dLkDWErZrXwDjRWJ4QKR2+zic6atI BQoW/MruP7OMnPUf1bR7jHkahq90qqJS0h+gGpeCejwNCP3wyM9fNWcI+IF4ZWKBNyLA x95g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MdY8Aw0o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si20334562edm.24.2020.12.28.06.46.47; Mon, 28 Dec 2020 06:47:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MdY8Aw0o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502216AbgL1O1N (ORCPT + 99 others); Mon, 28 Dec 2020 09:27:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:33900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2503370AbgL1OZ5 (ORCPT ); Mon, 28 Dec 2020 09:25:57 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7468122B2C; Mon, 28 Dec 2020 14:25:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165517; bh=80Df07jw8u0rPfckof6unHZA8g2+cWiNH7Dx5mLknAM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MdY8Aw0o5qW+2FS4yN3CR8KGQkW1phwOQZA1hZ/D4S4zskAsbTP7qtm9xTwv5XhMO PjCDxdYQO/BD1wNOSwRq2o28I3eMBX6QbID5y5GFjmpMgbgisv4zSR6WwgrLMA5GQQ Cg4l0bRGt2t9lPgj9mrPlgmeo0q/j7klUpJyZxWM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Iwai , Mark Brown Subject: [PATCH 5.10 560/717] ASoC: cx2072x: Fix doubly definitions of Playback and Capture streams Date: Mon, 28 Dec 2020 13:49:18 +0100 Message-Id: <20201228125047.753708470@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Takashi Iwai commit 0d024a8bec084205fdd9fa17479ba91f45f85db3 upstream. The cx2072x codec driver defines multiple DAIs with the same stream name "Playback" and "Capture". Although the current code works more or less as is as the secondary streams are never used, it still leads the error message like: debugfs: File 'Playback' in directory 'dapm' already present! debugfs: File 'Capture' in directory 'dapm' already present! Fix it by renaming the secondary streams to unique names. Fixes: a497a4363706 ("ASoC: Add support for Conexant CX2072X CODEC") Cc: Signed-off-by: Takashi Iwai Link: https://lore.kernel.org/r/20201208135154.9188-1-tiwai@suse.de Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/cx2072x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/sound/soc/codecs/cx2072x.c +++ b/sound/soc/codecs/cx2072x.c @@ -1579,7 +1579,7 @@ static struct snd_soc_dai_driver soc_cod .id = CX2072X_DAI_DSP, .probe = cx2072x_dsp_dai_probe, .playback = { - .stream_name = "Playback", + .stream_name = "DSP Playback", .channels_min = 2, .channels_max = 2, .rates = CX2072X_RATES_DSP, @@ -1591,7 +1591,7 @@ static struct snd_soc_dai_driver soc_cod .name = "cx2072x-aec", .id = 3, .capture = { - .stream_name = "Capture", + .stream_name = "AEC Capture", .channels_min = 2, .channels_max = 2, .rates = CX2072X_RATES_DSP,