* [PATCH] ASoC: ti: omap-hdmi: Fix build error from a merge commit
@ 2026-09-03 9:38 Tomi Valkeinen
2026-09-07 21:01 ` Ivaylo Dimitrov
0 siblings, 1 reply; 2+ messages in thread
From: Tomi Valkeinen @ 2026-09-03 9:38 UTC (permalink / raw)
To: Jarkko Nikula, Sen Wang, Liam Girdwood, Mark Brown,
Jaroslav Kysela, Takashi Iwai, Thomas Zimmermann,
Ivaylo Dimitrov
Cc: Kuninori Morimoto, linux-sound, linux-omap, linux-kernel,
dri-devel, Tomi Valkeinen
'ad->card' was removed in commit 9af2c1d4f847 ("ASoC: ti: omap-hdmi:
remove unused *card"), but commit 699e5975e2a5 ("drm/omap: Report HDMI
hotplug events to the ASoC HDMI codec") moved that code line. These
commits were applied to different trees, and the merge was not quite
right: assignment to 'ad->card' from the latter commit was left in the
file, causing:
sound/soc/ti/omap-hdmi.c:408:11: error: ‘struct hdmi_audio_data’ has no member named ‘card’
Fix the issue by removing the line.
Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/all/apbbvQSfUbzYRFaw@sirena.org.uk/
Fixes: 1ae7fe832c2d ("Merge drm/drm-next into drm-misc-next")
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
---
sound/soc/ti/omap-hdmi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/ti/omap-hdmi.c b/sound/soc/ti/omap-hdmi.c
index c32ec7c0b0cf..2cabd4cc5b0b 100644
--- a/sound/soc/ti/omap-hdmi.c
+++ b/sound/soc/ti/omap-hdmi.c
@@ -405,7 +405,6 @@ static int omap_hdmi_audio_probe(struct platform_device *pdev)
card->dev = dev;
atomic_set(&ad->jack_state, -1);
- ad->card = card;
snd_soc_card_set_drvdata(card, ad);
ret = devm_snd_soc_register_card(dev, card);
---
base-commit: 97c594f71fa71dc30a0583a76d8b6ef5c5ea10b1
change-id: 20260903-omap-hdmi-fix-7f085e21b708
Best regards,
--
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ASoC: ti: omap-hdmi: Fix build error from a merge commit
2026-09-03 9:38 [PATCH] ASoC: ti: omap-hdmi: Fix build error from a merge commit Tomi Valkeinen
@ 2026-09-07 21:01 ` Ivaylo Dimitrov
0 siblings, 0 replies; 2+ messages in thread
From: Ivaylo Dimitrov @ 2026-09-07 21:01 UTC (permalink / raw)
To: Tomi Valkeinen, Jarkko Nikula, Sen Wang, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Thomas Zimmermann
Cc: Kuninori Morimoto, linux-sound, linux-omap, linux-kernel, dri-devel
On 3.09.26 г. 12:38 ч., Tomi Valkeinen wrote:
> 'ad->card' was removed in commit 9af2c1d4f847 ("ASoC: ti: omap-hdmi:
> remove unused *card"), but commit 699e5975e2a5 ("drm/omap: Report HDMI
> hotplug events to the ASoC HDMI codec") moved that code line. These
> commits were applied to different trees, and the merge was not quite
> right: assignment to 'ad->card' from the latter commit was left in the
> file, causing:
>
> sound/soc/ti/omap-hdmi.c:408:11: error: ‘struct hdmi_audio_data’ has no member named ‘card’
>
> Fix the issue by removing the line.
>
> Reported-by: Mark Brown <broonie@kernel.org>
> Closes: https://lore.kernel.org/all/apbbvQSfUbzYRFaw@sirena.org.uk/
> Fixes: 1ae7fe832c2d ("Merge drm/drm-next into drm-misc-next")
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
> ---
> sound/soc/ti/omap-hdmi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/sound/soc/ti/omap-hdmi.c b/sound/soc/ti/omap-hdmi.c
> index c32ec7c0b0cf..2cabd4cc5b0b 100644
> --- a/sound/soc/ti/omap-hdmi.c
> +++ b/sound/soc/ti/omap-hdmi.c
> @@ -405,7 +405,6 @@ static int omap_hdmi_audio_probe(struct platform_device *pdev)
> card->dev = dev;
>
> atomic_set(&ad->jack_state, -1);
> - ad->card = card;
>
> snd_soc_card_set_drvdata(card, ad);
> ret = devm_snd_soc_register_card(dev, card);
>
> ---
> base-commit: 97c594f71fa71dc30a0583a76d8b6ef5c5ea10b1
> change-id: 20260903-omap-hdmi-fix-7f085e21b708
>
> Best regards,
> --
> Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-07 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 9:38 [PATCH] ASoC: ti: omap-hdmi: Fix build error from a merge commit Tomi Valkeinen
2026-09-07 21:01 ` Ivaylo Dimitrov
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®