]> www.infradead.org Git - users/hch/configfs.git/commitdiff
ALSA: pcm: Fix missing export of snd_pcm_set_sync_per-card()
authorTakashi Iwai <tiwai@suse.de>
Fri, 5 Jul 2024 06:35:53 +0000 (08:35 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jul 2024 07:47:40 +0000 (09:47 +0200)
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407051343.1Sz8AKFt-lkp@intel.com/
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://patch.msgid.link/20240705063555.17220-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c

index e48a84f8e9772c26d28ac5e73534c020aa584999..66683656fb13e224eee9512b83c975ca2261c21c 100644 (file)
@@ -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