]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: ti: j721e-evm: allocate dai_links with priv
authorRosen Penev <rosenp@gmail.com>
Tue, 28 Apr 2026 20:47:28 +0000 (13:47 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 29 Apr 2026 02:14:17 +0000 (11:14 +0900)
commit85db411913cbaf0ef4743cbcaffcdd6017df4274
tree170f643c89f4ddb6710ac55c09609d408106f9ce
parentf103e6c27fa2623ce90a50f9117b4076c02107f0
ASoC: ti: j721e-evm: allocate dai_links with priv

Use a flexible array member to combine allocations. Simplifies the code
slightly.

Remove open coding of of_device_get_match_data.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[Fixed up bitrotted commit message -- broonie]
Link: https://patch.msgid.link/20260428204728.24103-1-rosenp@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/j721e-evm.c