aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-bridge-test.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2024-08-21 04:10:04 +0000
committerMark Brown <[email protected]>2024-08-28 12:01:44 +0000
commite0be875c5bf03a9676a6bfed9e0f1766922a7dbd (patch)
tree20077dd8b5a3d31b49fa682163cc3dd30dc217a4 /drivers/fpga/tests/fpga-bridge-test.c
parentASoC: fix module autoloading (diff)
downloadkernel-e0be875c5bf03a9676a6bfed9e0f1766922a7dbd.tar.gz
kernel-e0be875c5bf03a9676a6bfed9e0f1766922a7dbd.zip
ASoc: SOF: topology: Clear SOF link platform name upon unload
The SOF topology loading function sets the device name for the platform component link. This should be unset when unloading the topology, otherwise a machine driver unbind/bind or reprobe would complain about an invalid component as having both its component name and of_node set: mt8186_mt6366 sound: ASoC: Both Component name/of_node are set for AFE_SOF_DL1 mt8186_mt6366 sound: error -EINVAL: Cannot register card mt8186_mt6366 sound: probe with driver mt8186_mt6366 failed with error -22 This happens with machine drivers that set the of_node separately. Clear the SOF link platform name in the topology unload callback. Fixes: 311ce4fe7637 ("ASoC: SOF: Add support for loading topologies") Signed-off-by: Chen-Yu Tsai <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions