ASoC: rockchip: multi_dais_pcm: Fix warning

debugfs: Directory 'multi-dais' with parent already present!

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I1aeee5332c79f78c5436c4bb7c57d3d692ef9b75
This commit is contained in:
Sugar Zhang
2023-09-13 19:13:51 +08:00
committed by Tao Huang
parent 4cf62acda4
commit 480426852e

View File

@@ -685,6 +685,9 @@ int snd_dmaengine_mpcm_register(struct rk_mdais_dev *mdais)
if (!pcm)
return -ENOMEM;
#ifdef CONFIG_DEBUG_FS
pcm->component.debugfs_prefix = "dma";
#endif
pcm->mdais = mdais;
for (i = 0; i < num; i++) {
child = mdais->dais[i].dev;