]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 7 Mar 2022 15:35:59 +0000 (16:35 +0100)
commit988a4a3e22d8062859a7a44bc56ba22adf384d91
tree6920264fc836516faefafaf58642e1d66ccb7a36
parent4e5b0c77e6bfbb7560994b2e3a5064a34b92f94c
ALSA: oss: fix compile error when OSS_DEBUG is enabled

BugLink: https://bugs.launchpad.net/bugs/1960566
[ Upstream commit 8e7daf318d97f25e18b2fc7eb5909e34cd903575 ]

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@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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/core/oss/pcm_oss.c