]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: oss: fix compile error when OSS_DEBUG is enabled
authorBixuan Cui <cuibixuan@linux.alibaba.com>
Wed, 1 Dec 2021 08:58:54 +0000 (16:58 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Dec 2021 09:31:04 +0000 (10:31 +0100)
commitb235d86d9665d91aef402720f92d31c8930cc5b8
tree8a8f794efb54b528d3b2f4ad83b3e10623f5420d
parentce5b22a3fe086569310f63c240504039eea0902f
ALSA: oss: fix compile error when OSS_DEBUG is enabled

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: 27ea358d6dfe ("ALSA: oss: Use standard printk helpers")
Signed-off-by: Bixuan Cui <cuibixuan@linux.alibaba.com>
Link: https://lore.kernel.org/r/1638349134-110369-1-git-send-email-cuibixuan@linux.alibaba.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/pcm_oss.c