Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
sound
/
core
/
pcm_lib.c
diff --git
a/kernel/sound/core/pcm_lib.c
b/kernel/sound/core/pcm_lib.c
index
6b5a811
..
0aca397
100644
(file)
--- a/
kernel/sound/core/pcm_lib.c
+++ b/
kernel/sound/core/pcm_lib.c
@@
-322,7
+322,7
@@
static int snd_pcm_update_hw_ptr0(struct snd_pcm_substream *substream,
char name[16];
snd_pcm_debug_name(substream, name, sizeof(name));
pcm_err(substream->pcm,
char name[16];
snd_pcm_debug_name(substream, name, sizeof(name));
pcm_err(substream->pcm,
- "
BUG
: %s, pos = %ld, buffer size = %ld, period size = %ld\n",
+ "
invalid position
: %s, pos = %ld, buffer size = %ld, period size = %ld\n",
name, pos, runtime->buffer_size,
runtime->period_size);
}
name, pos, runtime->buffer_size,
runtime->period_size);
}
@@
-1886,8
+1886,8
@@
void snd_pcm_period_elapsed(struct snd_pcm_substream *substream)
snd_timer_interrupt(substream->timer, 1);
#endif
_end:
snd_timer_interrupt(substream->timer, 1);
#endif
_end:
- snd_pcm_stream_unlock_irqrestore(substream, flags);
kill_fasync(&runtime->fasync, SIGIO, POLL_IN);
kill_fasync(&runtime->fasync, SIGIO, POLL_IN);
+ snd_pcm_stream_unlock_irqrestore(substream, flags);
}
EXPORT_SYMBOL(snd_pcm_period_elapsed);
}
EXPORT_SYMBOL(snd_pcm_period_elapsed);