Message ID | 20230705124850.40069-1-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1861138vqx; Wed, 5 Jul 2023 06:15:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlEWvDeNtE6lL0EndK7/Ry67vt8ecBxHS9m3iPHZcFEXBYZFlAOcXOsxmOiOM5K9WkThx77b X-Received: by 2002:a05:6a20:729b:b0:12d:c4fb:4884 with SMTP id o27-20020a056a20729b00b0012dc4fb4884mr18483566pzk.20.1688562935785; Wed, 05 Jul 2023 06:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688562935; cv=none; d=google.com; s=arc-20160816; b=C2+vNBb7LHJjX9J7E6xCmExFqK9zmZzQRBm/DAvxR9NjDE58qySYTCYv+RuZykr2on f0y5Pf6D/Tpe7PIBf8RXZpPbUPGN1KdttdXt6cJCraVLvf9XRrVO9nvzN33JktKlyrkL kobOFNLom6MGiS64A2mA7vhhEdRghRIJRDEMuchB+K6wfPXjCsI77iYYzy+skVLm9fI7 eoNdZ6M4q4m4LAQ851w+xWnY2wTxQOZsiibXD5eQgduI4IY3LPbHzj1lHe1Fpzt4IfdD ttoO739aGdfPD0qkM79TsW6l1n0ZITa8vS0h9SnX4fELXRGMJZFNQZVfF1vA1wjZ9u2B Mh9g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=796mPETlBqbeNQ5vV/FcWX3FA/XcOt8VlMkifegXBJw=; fh=yqn8EZzNzzurxUR2VKg6LJH2g5W0uk2Uy806Uic6oUM=; b=RI+s6Fyie3AV+3FcU0zpdaVMhgaokiFCXmdAdpJzuw2x6b23ICCoSQO4Gy8CY8wEeT rwz7uDusrrBCimh71L8YnlppZB71FOWwDLLl48VLVTW/mlfkDUqumxjlXROv5dzbA80l JJoICK3KBQf7cMR9ZunS8WyNddrzSlQC0ZNqiI9oSNEucCblx+1sQlbP4Qtt5Ph8RsCu DT88u+YxdY8hdCn8oxJbpJvKRabCNTmoSke+WsEgyFcqu9KWShY+WW972jm51LCEXeHb XsZDudd06lKmBPETu2ehMG8+puLp6CTLjB8cN2vlViNNdCQfDDHHpjrLnKPLoyAf0R1+ rpRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=votp08ad; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m12-20020a170902f64c00b001b3eeaad177si22933399plg.99.2023.07.05.06.15.21; Wed, 05 Jul 2023 06:15:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=votp08ad; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232004AbjGEMtA (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Wed, 5 Jul 2023 08:49:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230477AbjGEMs5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 5 Jul 2023 08:48:57 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1730010F5 for <linux-kernel@vger.kernel.org>; Wed, 5 Jul 2023 05:48:55 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-313e742a787so615793f8f.1 for <linux-kernel@vger.kernel.org>; Wed, 05 Jul 2023 05:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688561333; x=1691153333; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=796mPETlBqbeNQ5vV/FcWX3FA/XcOt8VlMkifegXBJw=; b=votp08ad7DjF8+34RaFA/Zj5QD6sm6iRVV4rH3+q1RS92sWxEZ6fSnVef2YVtLxJCA 7sjTG310S7I/gaKEs6jL5sODe5C8w8Vopwf76GMsd5hh1lN0NCdcu4kHDFkRWJLsPhN2 KNDFznH+2YAYgItpod/1CRQnEDBziRBjsWh7nCBg2ZfcpDx5hmXEDSWS6zXwazoPRSLE AS8DL31mS4zBnxdLo2d37lKtTGZuKj8NTMlKc2E6d0RSmWvAlO1RdvlyQ0cN6aX9kEIw IEk2lK+2FKDvNS0JhaLzHCmBsymeQ8GzU+dpp0kUfk9l+8YQcn8vBrCHUWoMMT+2MfN+ OUow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688561333; x=1691153333; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=796mPETlBqbeNQ5vV/FcWX3FA/XcOt8VlMkifegXBJw=; b=XPFJ53IqClqNz8nfdDzDJqaOvTUfV603kTma9tlki8ckkb6PKvdUH6K5FZiLUlL00e YlgPL1ZKqkEOrqqrtLbju+htWRkYw4GqgqrGp5lYsh2OBsyMiVoQc9lc72MUj3Va9Nps hxCtBeqMUMvCVekI8dPOr6aGMfZ+FiWUQ3d7iBXo1e2/6UJmzHO5yFWsRZKMEDS5KhtJ +UgrtxOmG5Vy1DVUlZT3bO4iNkWkLArg74GYGvThC/6EebFe6sVmsQl5RcOG58TuOCf8 EbacWQQyWwNeFIZNWKXKN+w2D61lKjP3RWYzmI+owySaSJHDJlR9yL392eoMAL9OfUQh CVeQ== X-Gm-Message-State: ABy/qLbk4XcVyswG6tugPI6Uubzd0/t4aHhH+MS+bX0PW8sev71TNcQi byw9fOsxCfX5AkzgeLz623A4xQ== X-Received: by 2002:adf:e805:0:b0:314:314e:fdda with SMTP id o5-20020adfe805000000b00314314efddamr2551891wrm.23.1688561333301; Wed, 05 Jul 2023 05:48:53 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id cw13-20020a056000090d00b003112f836d4esm30770606wrb.85.2023.07.05.05.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 05:48:52 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: broonie@kernel.org Cc: perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, ckeepax@opensource.cirrus.com, kuninori.morimoto.gx@renesas.com, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Amit Pundir <amit.pundir@linaro.org> Subject: [PATCH] ASoC: qcom: q6afe-dai: fix Display Port Playback stream name Date: Wed, 5 Jul 2023 13:48:50 +0100 Message-Id: <20230705124850.40069-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770586568637385499?= X-GMAIL-MSGID: =?utf-8?q?1770586568637385499?= |
Series |
ASoC: qcom: q6afe-dai: fix Display Port Playback stream name
|
|
Commit Message
Srinivas Kandagatla
July 5, 2023, 12:48 p.m. UTC
With recent changes to add more display ports did not change the Stream
name in q6afe-dai. This results in below error
"ASoC: Failed to add route DISPLAY_PORT_RX -> Display Port Playback(*)"
and sound card fails to probe.
Fix this by adding correct stream name.
Fixes: 90848a2557fe ("ASoC: qcom: q6dsp: add support to more display ports")
Reported-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
sound/soc/qcom/qdsp6/q6afe-dai.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, 5 Jul 2023 at 18:18, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> wrote: > > With recent changes to add more display ports did not change the Stream > name in q6afe-dai. This results in below error > "ASoC: Failed to add route DISPLAY_PORT_RX -> Display Port Playback(*)" > and sound card fails to probe. > > Fix this by adding correct stream name. Tested-by: Amit Pundir <amit.pundir@linaro.org> # tested on Dragonboard 845c > > Fixes: 90848a2557fe ("ASoC: qcom: q6dsp: add support to more display ports") > Reported-by: Amit Pundir <amit.pundir@linaro.org> > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> > --- > sound/soc/qcom/qdsp6/q6afe-dai.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/qcom/qdsp6/q6afe-dai.c b/sound/soc/qcom/qdsp6/q6afe-dai.c > index 31e0bad71e95..dbff55a97162 100644 > --- a/sound/soc/qcom/qdsp6/q6afe-dai.c > +++ b/sound/soc/qcom/qdsp6/q6afe-dai.c > @@ -476,7 +476,7 @@ static int q6afe_mi2s_set_sysclk(struct snd_soc_dai *dai, > > static const struct snd_soc_dapm_route q6afe_dapm_routes[] = { > {"HDMI Playback", NULL, "HDMI_RX"}, > - {"Display Port Playback", NULL, "DISPLAY_PORT_RX"}, > + {"DISPLAY_PORT_RX_0 Playback", NULL, "DISPLAY_PORT_RX"}, > {"Slimbus Playback", NULL, "SLIMBUS_0_RX"}, > {"Slimbus1 Playback", NULL, "SLIMBUS_1_RX"}, > {"Slimbus2 Playback", NULL, "SLIMBUS_2_RX"}, > -- > 2.25.1 >
On Wed, 05 Jul 2023 13:48:50 +0100, Srinivas Kandagatla wrote: > With recent changes to add more display ports did not change the Stream > name in q6afe-dai. This results in below error > "ASoC: Failed to add route DISPLAY_PORT_RX -> Display Port Playback(*)" > and sound card fails to probe. > > Fix this by adding correct stream name. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: qcom: q6afe-dai: fix Display Port Playback stream name commit: 4f3fcf5f6dc8ab561e152c8747fd7e502b32266c 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
diff --git a/sound/soc/qcom/qdsp6/q6afe-dai.c b/sound/soc/qcom/qdsp6/q6afe-dai.c index 31e0bad71e95..dbff55a97162 100644 --- a/sound/soc/qcom/qdsp6/q6afe-dai.c +++ b/sound/soc/qcom/qdsp6/q6afe-dai.c @@ -476,7 +476,7 @@ static int q6afe_mi2s_set_sysclk(struct snd_soc_dai *dai, static const struct snd_soc_dapm_route q6afe_dapm_routes[] = { {"HDMI Playback", NULL, "HDMI_RX"}, - {"Display Port Playback", NULL, "DISPLAY_PORT_RX"}, + {"DISPLAY_PORT_RX_0 Playback", NULL, "DISPLAY_PORT_RX"}, {"Slimbus Playback", NULL, "SLIMBUS_0_RX"}, {"Slimbus1 Playback", NULL, "SLIMBUS_1_RX"}, {"Slimbus2 Playback", NULL, "SLIMBUS_2_RX"},