From f45e756958099c35d6afb746df1d40a1c6302cfc Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 07 Nov 2023 06:20:23 +0000 Subject: [PATCH] enable wifi gpio --- kernel/sound/soc/generic/simple-card.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sound/soc/generic/simple-card.c b/kernel/sound/soc/generic/simple-card.c index 3da9cd6..64bf356 100644 --- a/kernel/sound/soc/generic/simple-card.c +++ b/kernel/sound/soc/generic/simple-card.c @@ -108,12 +108,12 @@ if (ret < 0) return ret; - ret = snd_soc_dai_set_sysclk(codec_dai, substream->stream, mclk, + ret = snd_soc_dai_set_sysclk(codec_dai, 0, mclk, SND_SOC_CLOCK_IN); if (ret && ret != -ENOTSUPP) goto err; - ret = snd_soc_dai_set_sysclk(cpu_dai, substream->stream, mclk, + ret = snd_soc_dai_set_sysclk(cpu_dai, 0, mclk, SND_SOC_CLOCK_OUT); if (ret && ret != -ENOTSUPP) goto err; -- Gitblit v1.6.2