linux-yocto/sound/soc/ti
Yuuki NAGAO 569fb8c122 ASoC: ti: omap-hdmi: Re-add dai_link->platform to fix card init
[ Upstream commit bae071aa7b ]

The removed dai_link->platform component cause a fail which
is exposed at runtime. (ex: when a sound tool is used)
This patch re-adds the dai_link->platform component to have
a full card registered.

Before this patch:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: HDMI [HDMI], device 0: HDMI snd-soc-dummy-dai-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ speaker-test -D plughw:1,0 -t sine
speaker-test 1.2.8
Playback device is plughw:1,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Sine wave rate is 440.0000Hz
Playback open error: -22,Invalid argument

After this patch which restores the platform component:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDMI], device 0: HDMI snd-soc-dummy-dai-0 [HDMI snd-soc-dummy-dai-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

-> Resolve the playback error.

Fixes: 3b0db249cf ("ASoC: ti: remove unnecessary dai_link->platform")

Signed-off-by: Yuuki NAGAO <wf.yn386@gmail.com>
Link: https://patch.msgid.link/20250531141341.81164-1-wf.yn386@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-19 15:32:21 +02:00
..
ams-delta.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
davinci-evm.c ASoC: Use device_get_match_data() 2023-10-09 13:13:59 +01:00
davinci-i2s.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
davinci-i2s.h
davinci-mcasp.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
davinci-mcasp.h
edma-pcm.c
edma-pcm.h
j721e-evm.c ASoC: ti: j721e-evm: Fix clock configuration for ti,j7200-cpb-audio compatible 2025-04-10 14:39:13 +02:00
Kconfig ASoC: ti: ams-delta: Allow it to be test compiled 2023-10-23 19:40:21 +01:00
Makefile ASoC: ti: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:35 +09:00
n810.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
omap-abe-twl6040.c
omap-dmic.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
omap-dmic.h
omap-hdmi.c ASoC: ti: omap-hdmi: Re-add dai_link->platform to fix card init 2025-06-19 15:32:21 +02:00
omap-mcbsp-priv.h
omap-mcbsp-st.c
omap-mcbsp.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
omap-mcbsp.h
omap-mcpdm.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
omap-mcpdm.h
omap-twl4030.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
omap3pandora.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
osk5912.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
rx51.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
sdma-pcm.c
sdma-pcm.h
udma-pcm.c
udma-pcm.h