aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch')
-rw-r--r--target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch b/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch
index d0d4141a8d..f625d41449 100644
--- a/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch
+++ b/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch
@@ -382,7 +382,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+{
+ struct ralink_i2s *i2s = snd_soc_dai_get_drvdata(dai);
+
-+ if (dai->active)
++ if (snd_soc_dai_active(dai))
+ return 0;
+
+ /* setup status interrupt */
@@ -408,7 +408,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ struct ralink_i2s *i2s = snd_soc_dai_get_drvdata(dai);
+
+ /* If both streams are stopped, disable module and clock */
-+ if (dai->active)
++ if (snd_soc_dai_active(dai))
+ return;
+
+ /*