mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02: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:
parent
b8bbd0d907
commit
6c4dd79500
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user