|
@@ -184,7 +184,7 @@ static void xrun(struct snd_pcm_substream *substream)
|
|
|
do { \
|
|
|
if (xrun_debug(substream, XRUN_DEBUG_BASIC)) { \
|
|
|
xrun_log_show(substream); \
|
|
|
- if (printk_ratelimit()) { \
|
|
|
+ if (snd_printd_ratelimit()) { \
|
|
|
snd_printd("PCM: " fmt, ##args); \
|
|
|
} \
|
|
|
dump_stack_on_xrun(substream); \
|
|
@@ -342,7 +342,7 @@ static int snd_pcm_update_hw_ptr0(struct snd_pcm_substream *substream,
|
|
|
return -EPIPE;
|
|
|
}
|
|
|
if (pos >= runtime->buffer_size) {
|
|
|
- if (printk_ratelimit()) {
|
|
|
+ if (snd_printd_ratelimit()) {
|
|
|
char name[16];
|
|
|
snd_pcm_debug_name(substream, name, sizeof(name));
|
|
|
xrun_log_show(substream);
|