Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ezequiel@vanguardiasur.com.ar (Ezequiel Garcia)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ASoC: rockchip: Fix dai_name for HDMI codec
Date: Tue, 20 Mar 2018 13:03:30 -0300	[thread overview]
Message-ID: <20180320160332.13212-2-ezequiel@vanguardiasur.com.ar> (raw)
In-Reply-To: <20180320160332.13212-1-ezequiel@vanguardiasur.com.ar>

From: Ezequiel Garcia <ezequiel@collabora.co.uk>

Commit 24069b589b02 ("ASoC: hdmi-codec: remove multi detection support")
changed the dai_name for the HDMI Codec, breaking the rk3288_hdmi_analog
driver, which fails to register with a:

  rk3288-snd-hdmi-analog sound: ASoC: CODEC DAI hdmi-hifi.0 not registered

This commit fixes the dai_name, fixing the issue.

Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Fixes: 24069b589b02 ("ASoC: hdmi-codec: remove multi detection support")
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.co.uk>
---
 sound/soc/rockchip/rk3288_hdmi_analog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/rockchip/rk3288_hdmi_analog.c b/sound/soc/rockchip/rk3288_hdmi_analog.c
index fa44e3901336..929b3fe289b0 100644
--- a/sound/soc/rockchip/rk3288_hdmi_analog.c
+++ b/sound/soc/rockchip/rk3288_hdmi_analog.c
@@ -155,7 +155,7 @@ static struct snd_soc_dai_link_component rk_codecs[] = {
 	{ },
 	{
 		.name = "hdmi-audio-codec.2.auto",
-		.dai_name = "hdmi-hifi.0",
+		.dai_name = "i2s-hifi",
 	},
 };
 
-- 
2.16.2

  reply	other threads:[~2018-03-20 16:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-20 16:03 [PATCH 0/3] Fix audio regression on rk3288 Ezequiel Garcia
2018-03-20 16:03 ` Ezequiel Garcia [this message]
2018-03-21  1:57   ` Applied "ASoC: rockchip: Fix dai_name for HDMI codec" to the asoc tree Mark Brown
2018-03-20 16:03 ` [PATCH 2/3] ASoC: rockchip: rk3288-hdmi-analog: Select needed codecs Ezequiel Garcia
2018-03-21  1:57   ` Applied "ASoC: rockchip: rk3288-hdmi-analog: Select needed codecs" to the asoc tree Mark Brown
2018-03-20 16:03 ` [PATCH 3/3] dt-bindings: sound: rockchip Fix compatible string in example Ezequiel Garcia
2018-03-21  1:52   ` Mark Brown
2018-03-21  1:57   ` Applied "ASoC: rockchip: Fix compatible string in example" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180320160332.13212-2-ezequiel@vanguardiasur.com.ar \
    --to=ezequiel@vanguardiasur.com.ar \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox