ASoC: rockchip: vad: Use snd_soc_find_dai_with_mutex

Ref: commit 20d9fdee72 ("ASoC: soc-core: add snd_soc_find_dai_with_mutex()")

This patch fix potential WARNING when config enable CONFIG_LOCKDEP

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I5f830cfcd68a7c819f6613786b78bc6d1519fc9e
This commit is contained in:
Sugar Zhang
2023-01-31 10:02:02 +08:00
committed by Tao Huang
parent b8bbd0d907
commit 6c4dd79500

View File

@@ -729,7 +729,7 @@ static struct snd_soc_dai *rockchip_vad_find_dai(struct device_node *np)
dai_component.of_node = np;
return snd_soc_find_dai(&dai_component);
return snd_soc_find_dai_with_mutex(&dai_component);
}
static void hw_refine_channels(struct snd_pcm_hw_params *params,