[PATCH -next] ALSA: oss: fix compile error when OSS_DEBUG is enabled

Takashi Iwai tiwai at suse.de
Wed Dec 1 10:32:58 CET 2021


On Wed, 01 Dec 2021 09:58:54 +0100,
Bixuan Cui wrote:
> 
> Fix compile error when OSS_DEBUG is enabled:
>     sound/core/oss/pcm_oss.c: In function 'snd_pcm_oss_set_trigger':
>     sound/core/oss/pcm_oss.c:2055:10: error: 'substream' undeclared (first
>     use in this function); did you mean 'csubstream'?
>       pcm_dbg(substream->pcm, "pcm_oss: trigger = 0x%x\n", trigger);
>               ^
> 
> Fixes: 61efcee8608c ("ALSA: oss: Use standard printk helpers")
> Signed-off-by: Bixuan Cui <cuibixuan at linux.alibaba.com>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list