git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8245b36
)
ALSA: pcm: fix fifo_size frame calculation
author
Clemens Ladisch
<clemens@ladisch.de>
Sun, 21 Sep 2014 20:50:57 +0000
(22:50 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 22 Sep 2014 06:51:35 +0000
(08:51 +0200)
The calculated frame size was wrong because snd_pcm_format_physical_width()
actually returns the number of bits, not bytes.
Use snd_pcm_format_size() instead, which not only returns bytes, but also
simplifies the calculation.
Fixes:
8bea869c5e56
("ALSA: PCM midlevel: improve fifo_size handling")
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c
patch
|
blob
|
history
diff --cc
sound/core/pcm_lib.c
Simple merge