mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user