firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-include_sound_soc.h.p...

14 lines
634 B
Diff

diff -drupN a/include/sound/soc.h b/include/sound/soc.h
--- a/include/sound/soc.h 2018-08-06 17:23:04.000000000 +0300
+++ b/include/sound/soc.h 2022-06-12 05:28:14.000000000 +0300
@@ -485,6 +485,9 @@ int soc_new_pcm(struct snd_soc_pcm_runti
int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num);
#endif
+struct snd_pcm_substream *snd_soc_get_substream(struct snd_soc_card *card,
+ const char *dai_link, int stream);
+
struct snd_pcm_substream *snd_soc_get_dai_substream(struct snd_soc_card *card,
const char *dai_link, int stream);
struct snd_soc_pcm_runtime *snd_soc_get_pcm_runtime(struct snd_soc_card *card,