On 1.09.26 г. 17:05 ч., Mark Brown wrote:
Hi all,
After merging the drm-misc tree, today's linux-next build (x86_64
allmodconfig) failed like this:
/tmp/next/build/sound/soc/ti/omap-hdmi.c:408:6: error: no member named 'card'
in 'struct hdmi_audio_data'
408 | ad->card = card;
| ~~ ^
Caused by commit
699e5975e2a53 (drm/omap: Report HDMI hotplug events to the ASoC HDMI codec)
I have used the tree from next-20260831 instead.
This seems to be due to an interaction between two patches:
1. 9af2c1d4f847 (ASoC: ti: omap-hdmi: remove unused *card) /
875e906efdc4 (ASoC: ti: preparation for Card capsuling)
2. 699e5975e2a53 (drm/omap: Report HDMI hotplug events to the ASoC HDMI
codec)
Both (1) patches are in the tree and remove the 'card' member from
struct hdmi_audio_data, while (2) was already in transit. Patch (2) only
reorders the existing ad->card = card assignment, so it still contains
that reference:
+ ad->card = card;
+
+ snd_soc_card_set_drvdata(card, ad);
ret = devm_snd_soc_register_card(dev, card);
if (ret) {
dev_err(dev, "snd_soc_register_card failed (%d)\n", ret);
return ret;
}
- ad->card = card;
- snd_soc_card_set_drvdata(card, ad);
-
dev_set_drvdata(dev, ad);