* [PATCH] ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
@ 2026-09-26 7:24 Aaron Kling via B4 Relay
2026-09-29 7:22 ` Jon Hunter
2026-09-29 11:12 ` Thierry Reding
0 siblings, 2 replies; 5+ messages in thread
From: Aaron Kling via B4 Relay @ 2026-09-26 7:24 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai, Thierry Reding, Jonathan Hunter
Cc: Thierry Reding, linux-sound, linux-tegra, linux-kernel, stable,
Aaron Kling
From: Aaron Kling <webgeek1234@gmail.com>
This workaround was originally added for Tegra194, but no longer gets
applied for it. Commit 615d43540043 ("ALSA: hda/tegra: fix tegra-hda on
tegra30 soc") changed the guard to tegra30-hda, which worked because all
affected archs had the fallback compatible. However, commit 7f0ea5acfc19
("arm64: tegra: Use correct compatible string for Tegra194 HDA") removed
the fallback compatible for Tegra194, causing this to break.
Fixes: 7f0ea5acfc19 ("arm64: tegra: Use correct compatible string for Tegra194 HDA")
Cc: stable@vger.kernel.org
Assisted-by: LLM
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
---
sound/hda/controllers/tegra.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sound/hda/controllers/tegra.c b/sound/hda/controllers/tegra.c
index 31c14c4bbe683..674cc0f79c3c8 100644
--- a/sound/hda/controllers/tegra.c
+++ b/sound/hda/controllers/tegra.c
@@ -374,7 +374,8 @@ static int hda_tegra_first_init(struct azx *chip, struct platform_device *pdev)
* in powers of 2, next available ratio is 16 which can be
* used as a limiting factor here.
*/
- if (of_device_is_compatible(np, "nvidia,tegra30-hda"))
+ if (of_device_is_compatible(np, "nvidia,tegra30-hda") ||
+ of_device_is_compatible(np, "nvidia,tegra194-hda"))
chip->bus.core.sdo_limit = 16;
/* codec detection */
---
base-commit: 4c253ac4b29b8c6cc6fdef8f92d4facde62e63b9
change-id: 20260926-tegra194-hda-sdo-1d84c6085198
Best regards,
--
Aaron Kling <webgeek1234@gmail.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
2026-09-26 7:24 [PATCH] ALSA: hda/tegra: Re-enable SDO workaround for Tegra194 Aaron Kling via B4 Relay
@ 2026-09-29 7:22 ` Jon Hunter
2026-09-29 11:12 ` Thierry Reding
1 sibling, 0 replies; 5+ messages in thread
From: Jon Hunter @ 2026-09-29 7:22 UTC (permalink / raw)
To: webgeek1234, Jaroslav Kysela, Takashi Iwai, Thierry Reding
Cc: Thierry Reding, linux-sound, linux-tegra, linux-kernel, stable
On 26/09/2026 08:24, Aaron Kling via B4 Relay wrote:
> From: Aaron Kling <webgeek1234@gmail.com>
>
> This workaround was originally added for Tegra194, but no longer gets
> applied for it. Commit 615d43540043 ("ALSA: hda/tegra: fix tegra-hda on
> tegra30 soc") changed the guard to tegra30-hda, which worked because all
> affected archs had the fallback compatible. However, commit 7f0ea5acfc19
> ("arm64: tegra: Use correct compatible string for Tegra194 HDA") removed
> the fallback compatible for Tegra194, causing this to break.
>
> Fixes: 7f0ea5acfc19 ("arm64: tegra: Use correct compatible string for Tegra194 HDA")
> Cc: stable@vger.kernel.org
> Assisted-by: LLM
> Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> ---
> ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
> ---
> sound/hda/controllers/tegra.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/sound/hda/controllers/tegra.c b/sound/hda/controllers/tegra.c
> index 31c14c4bbe683..674cc0f79c3c8 100644
> --- a/sound/hda/controllers/tegra.c
> +++ b/sound/hda/controllers/tegra.c
> @@ -374,7 +374,8 @@ static int hda_tegra_first_init(struct azx *chip, struct platform_device *pdev)
> * in powers of 2, next available ratio is 16 which can be
> * used as a limiting factor here.
> */
> - if (of_device_is_compatible(np, "nvidia,tegra30-hda"))
> + if (of_device_is_compatible(np, "nvidia,tegra30-hda") ||
> + of_device_is_compatible(np, "nvidia,tegra194-hda"))
> chip->bus.core.sdo_limit = 16;
>
> /* codec detection */
>
> ---
> base-commit: 4c253ac4b29b8c6cc6fdef8f92d4facde62e63b9
> change-id: 20260926-tegra194-hda-sdo-1d84c6085198
I would be tempted to change the fixes tag to be 615d43540043
("ALSA: hda/tegra: fix tegra-hda on tegra30 soc") because technically
the Tegra194 device-tree was incorrect and after commit 615d43540043
is present, we always want the above. Otherwise ...
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Thanks!
Jon
--
nvpublic
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
2026-09-26 7:24 [PATCH] ALSA: hda/tegra: Re-enable SDO workaround for Tegra194 Aaron Kling via B4 Relay
2026-09-29 7:22 ` Jon Hunter
@ 2026-09-29 11:12 ` Thierry Reding
2026-09-29 17:22 ` Aaron Kling
1 sibling, 1 reply; 5+ messages in thread
From: Thierry Reding @ 2026-09-29 11:12 UTC (permalink / raw)
To: webgeek1234
Cc: Jaroslav Kysela, Takashi Iwai, Jonathan Hunter, Thierry Reding,
linux-sound, linux-tegra, linux-kernel, stable
[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]
On Sat, Sep 26, 2026 at 02:24:19AM -0500, Aaron Kling via B4 Relay wrote:
> From: Aaron Kling <webgeek1234@gmail.com>
>
> This workaround was originally added for Tegra194, but no longer gets
> applied for it. Commit 615d43540043 ("ALSA: hda/tegra: fix tegra-hda on
> tegra30 soc") changed the guard to tegra30-hda, which worked because all
> affected archs had the fallback compatible. However, commit 7f0ea5acfc19
> ("arm64: tegra: Use correct compatible string for Tegra194 HDA") removed
> the fallback compatible for Tegra194, causing this to break.
>
> Fixes: 7f0ea5acfc19 ("arm64: tegra: Use correct compatible string for Tegra194 HDA")
> Cc: stable@vger.kernel.org
> Assisted-by: LLM
> Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> ---
> ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
> ---
> sound/hda/controllers/tegra.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Maybe we should move this out of of_device_is_compatible() conditionals
and into hda_tegra_soc instead. That would make the checks for this a
lot more consistent and robust.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
2026-09-29 11:12 ` Thierry Reding
@ 2026-09-29 17:22 ` Aaron Kling
2026-09-29 18:11 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Aaron Kling @ 2026-09-29 17:22 UTC (permalink / raw)
To: Thierry Reding
Cc: Jaroslav Kysela, Takashi Iwai, Jonathan Hunter, Thierry Reding,
linux-sound, linux-tegra, linux-kernel, stable
On Tue, Sep 29, 2026 at 6:12 AM Thierry Reding
<thierry.reding@kernel.org> wrote:
>
> On Sat, Sep 26, 2026 at 02:24:19AM -0500, Aaron Kling via B4 Relay wrote:
> > From: Aaron Kling <webgeek1234@gmail.com>
> >
> > This workaround was originally added for Tegra194, but no longer gets
> > applied for it. Commit 615d43540043 ("ALSA: hda/tegra: fix tegra-hda on
> > tegra30 soc") changed the guard to tegra30-hda, which worked because all
> > affected archs had the fallback compatible. However, commit 7f0ea5acfc19
> > ("arm64: tegra: Use correct compatible string for Tegra194 HDA") removed
> > the fallback compatible for Tegra194, causing this to break.
> >
> > Fixes: 7f0ea5acfc19 ("arm64: tegra: Use correct compatible string for Tegra194 HDA")
> > Cc: stable@vger.kernel.org
> > Assisted-by: LLM
> > Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> > ---
> > ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
> > ---
> > sound/hda/controllers/tegra.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
>
> Maybe we should move this out of of_device_is_compatible() conditionals
> and into hda_tegra_soc instead. That would make the checks for this a
> lot more consistent and robust.
I received a notification from Takashi Iwai that this has already been
picked up, but it was only sent to me and not the list. Not sure why.
But looking at -next, it's already there. Not sure if you would want
to have that pulled back for updates or do followups later.
Aaron
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
2026-09-29 17:22 ` Aaron Kling
@ 2026-09-29 18:11 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2026-09-29 18:11 UTC (permalink / raw)
To: Aaron Kling
Cc: Thierry Reding, Jaroslav Kysela, Takashi Iwai, Jonathan Hunter,
Thierry Reding, linux-sound, linux-tegra, linux-kernel, stable
On Tue, 29 Sep 2026 19:22:25 +0200,
Aaron Kling wrote:
>
> On Tue, Sep 29, 2026 at 6:12 AM Thierry Reding
> <thierry.reding@kernel.org> wrote:
> >
> > On Sat, Sep 26, 2026 at 02:24:19AM -0500, Aaron Kling via B4 Relay wrote:
> > > From: Aaron Kling <webgeek1234@gmail.com>
> > >
> > > This workaround was originally added for Tegra194, but no longer gets
> > > applied for it. Commit 615d43540043 ("ALSA: hda/tegra: fix tegra-hda on
> > > tegra30 soc") changed the guard to tegra30-hda, which worked because all
> > > affected archs had the fallback compatible. However, commit 7f0ea5acfc19
> > > ("arm64: tegra: Use correct compatible string for Tegra194 HDA") removed
> > > the fallback compatible for Tegra194, causing this to break.
> > >
> > > Fixes: 7f0ea5acfc19 ("arm64: tegra: Use correct compatible string for Tegra194 HDA")
> > > Cc: stable@vger.kernel.org
> > > Assisted-by: LLM
> > > Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> > > ---
> > > ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
> > > ---
> > > sound/hda/controllers/tegra.c | 3 ++-
> > > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > Maybe we should move this out of of_device_is_compatible() conditionals
> > and into hda_tegra_soc instead. That would make the checks for this a
> > lot more consistent and robust.
>
> I received a notification from Takashi Iwai that this has already been
> picked up, but it was only sent to me and not the list. Not sure why.
> But looking at -next, it's already there. Not sure if you would want
> to have that pulled back for updates or do followups later.
Ah, I overlooked that your mail had 'Reply-To', and my mailer followed
it as default.
And yes, the patch was already queued for 7.4. But if anyone has a
better alternative, feel free to submit as an incremental fix.
thanks,
Takashi
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-09-29 18:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-26 7:24 [PATCH] ALSA: hda/tegra: Re-enable SDO workaround for Tegra194 Aaron Kling via B4 Relay
2026-09-29 7:22 ` Jon Hunter
2026-09-29 11:12 ` Thierry Reding
2026-09-29 17:22 ` Aaron Kling
2026-09-29 18:11 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®