summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMieczyslaw Nalewaj <namiltd@yahoo.com>2024-03-15 08:27:14 +0100
committerNick Hainke <vincent@systemli.org>2024-04-05 07:58:15 +0200
commitfddadcae431b082f1735949739b6421c44e2b9c0 (patch)
tree95563f35bc0539d90252539ab61403e69fa90c38 /target/linux
parentc5dee97d873636234d219e29e8cfd106e5324fb7 (diff)
downloadopenwrt-fddadcae431b082f1735949739b6421c44e2b9c0.tar.gz
openwrt-fddadcae431b082f1735949739b6421c44e2b9c0.tar.bz2
openwrt-fddadcae431b082f1735949739b6421c44e2b9c0.zip
ramips: mt7620: alignment with updated snd_soc_dai_driver structure
Fix error: 'struct snd_soc_dai_driver' has no member named 'remove' It follows the kernel patch: ASoC: soc-dai.h: remove unused call back functions (https://github.com/torvalds/linux/commit/446b31e894935ebbcf84302061a4e0e2efb2368f) Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/patches-6.6/835-asoc-add-mt7620-support.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/patches-6.6/835-asoc-add-mt7620-support.patch b/target/linux/ramips/patches-6.6/835-asoc-add-mt7620-support.patch
index 2c40fba694..8e1095ab00 100644
--- a/target/linux/ramips/patches-6.6/835-asoc-add-mt7620-support.patch
+++ b/target/linux/ramips/patches-6.6/835-asoc-add-mt7620-support.patch
@@ -545,12 +545,12 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ .shutdown = ralink_i2s_shutdown,
+ .hw_params = ralink_i2s_hw_params,
+ .trigger = ralink_i2s_trigger,
++ .probe = ralink_i2s_dai_probe,
++ .remove = ralink_i2s_dai_remove,
+};
+
+static struct snd_soc_dai_driver ralink_i2s_dai = {
+ .name = DRV_NAME,
-+ .probe = ralink_i2s_dai_probe,
-+ .remove = ralink_i2s_dai_remove,
+ .ops = &ralink_i2s_dai_ops,
+ .capture = {
+ .stream_name = "I2S Capture",