aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2024-07-05 08:35:53 +0200
committerTakashi Iwai <[email protected]>2024-07-05 09:47:40 +0200
commitbc7540b794df29f6ec0b24996381d6e68779d02f (patch)
tree40830fc849277480c823d57f6fc34f635db3631a
parent5f9f982dd71b418aeba7a0b37f87312545c06df4 (diff)
ALSA: pcm: Fix missing export of snd_pcm_set_sync_per-card()
The recent change for the PCM sync API forgot to export a new API function that is currently used in emu10k1 driver. This patch adds the missing export. Fixes: d712c58c55d9 ("ALSA: pcm: optimize and clarify stream synchronization ID API") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Reviewed-by: Jaroslav Kysela <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
-rw-r--r--sound/core/pcm_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c
index e48a84f8e977..66683656fb13 100644
--- a/sound/core/pcm_lib.c
+++ b/sound/core/pcm_lib.c
@@ -547,6 +547,7 @@ void snd_pcm_set_sync_per_card(struct snd_pcm_substream *substream,
strncpy(params->sync + 4, id, len);
memset(params->sync + 4 + len, 0, 12 - len);
}
+EXPORT_SYMBOL_GPL(snd_pcm_set_sync_per_card);
/*
* Standard ioctl routine