diff options
-rw-r--r-- | target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c | 1 | ||||
-rw-r--r-- | target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c b/target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c index 188e015572..756a1c5b57 100644 --- a/target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c +++ b/target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c @@ -39,6 +39,7 @@ #include <linux/spinlock.h> #include <linux/platform_device.h> #include <linux/interrupt.h> +#include <linux/of.h> #include <linux/mmc/host.h> #include <linux/mmc/mmc.h> diff --git a/target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch b/target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch index bacce79e30..633c5120e0 100644 --- a/target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch +++ b/target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch @@ -572,7 +572,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> + .rates = SNDRV_PCM_RATE_CONTINUOUS, + .formats = SNDRV_PCM_FMTBIT_S16_LE, + }, -+ .symmetric_rates = 1, ++ .symmetric_rate = 1, +}; + +static struct snd_pcm_hardware ralink_pcm_hardware = { |