ALSA: pcm: Fix missing export of snd_pcm_set_sync_per-card()
PATCH 1/1 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.
--- sound/core/pcm_lib.c | 1 + 1 file changed, 1 insertion(+)
sound/core/pcm_lib.c +1 -0
@@ -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
Signature · 1 line
2.43.0
Quoted 18 lines · Takashi Iwai
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]>Signed-off-by Takashi Iwai <[email protected]>--- sound/core/pcm_lib.c | 1 + 1 file changed, 1 insertion(+)sound/core/pcm_lib.c +0
-0
sound/core/pcm_lib.c void snd_pcm_set_sync_per_card(struct snd_pcm_substream *substream, · line 553
Quoted 7 lines
sound/core/pcm_lib.c +1
-0@@ -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
Thank you for this quick fix. I may also add this to the original patch set, if you like.
Jaroslav
Signature · 2 lines
Jaroslav Kysela <[email protected]> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Quoted 30 lines · Jaroslav Kysela
Quoted 18 lines · Takashi Iwai
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]>Signed-off-by Takashi Iwai <[email protected]>--- sound/core/pcm_lib.c | 1 + 1 file changed, 1 insertion(+)sound/core/pcm_lib.c +0
-0sound/core/pcm_lib.c void snd_pcm_set_sync_per_card(struct snd_pcm_substream *substream, · line 552
Quoted 6 lines
sound/core/pcm_lib.c +1
-0@@ -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 Reviewed-by Jaroslav Kysela <[email protected]>
Quoted 2 lines
Thank you for this quick fix. I may also add this to the original patch set, if you like.
Note that the v7 patch set has been already merged, so only an incremental fix is necessary in anyway.
thanks,
Takashi