mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
ALSA: sound, core, pcm_lib: fix xrun_log
The xrun_log function was augmented with the in_interrupt parameter whereas the empty macro definition used when xrun logging is disabled was not. Add a third parameter to the empty macro definition so as to not cause compiler errors when xrun logging (CONFIG_SND_PCM_XRUN_DEBUG) is disabled. Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ec08b14483
commit
217658f46c
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ static void xrun_log_show(struct snd_pcm_substream *substream)
|
||||||
#else /* ! CONFIG_SND_PCM_XRUN_DEBUG */
|
#else /* ! CONFIG_SND_PCM_XRUN_DEBUG */
|
||||||
|
|
||||||
#define hw_ptr_error(substream, fmt, args...) do { } while (0)
|
#define hw_ptr_error(substream, fmt, args...) do { } while (0)
|
||||||
#define xrun_log(substream, pos) do { } while (0)
|
#define xrun_log(substream, pos, in_interrupt) do { } while (0)
|
||||||
#define xrun_log_show(substream) do { } while (0)
|
#define xrun_log_show(substream) do { } while (0)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue