OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d61d71a
)
pcm: Remove superfluous rmb() from PCM meter plugin
author
Takashi Iwai
<tiwai@suse.de>
Thu, 30 Jun 2016 19:56:41 +0000
(21:56 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 7 Jul 2016 14:30:54 +0000
(16:30 +0200)
rmb() is still left in the code without any actual meaning there just
before the atomic operation. Let's clean it up.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_meter.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_meter.c
b/src/pcm/pcm_meter.c
index
1b0ccb4
..
d71af7a
100644
(file)
--- a/
src/pcm/pcm_meter.c
+++ b/
src/pcm/pcm_meter.c
@@
-136,7
+136,6
@@
static int snd_pcm_meter_update_scope(snd_pcm_t *pcm)
_again:
rptr = *pcm->hw.ptr;
old_rptr = meter->rptr;
- rmb();
if (atomic_read(&meter->reset)) {
reset = 1;
atomic_dec(&meter->reset);