tmp_suning_uos_patched/sound/core
Clemens Ladisch a9960e6a29 ALSA: pcm: fix fifo_size frame calculation
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: 8bea869c5e ("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>
2014-09-22 08:51:35 +02:00
..
oss
seq ALSA: seq: seq_memory.c: Fix closing brace followed by if 2014-06-23 17:58:33 +02:00
compress_offload.c ALSA: compress: fix an integer overflow check 2014-07-16 15:27:03 +02:00
control_compat.c
control.c ALSA: control: Define SNDRV_CTL_TLV_OP_* constants 2014-07-15 16:31:01 +02:00
ctljack.c
device.c
hrtimer.c
hwdep_compat.c
hwdep.c ALSA: Move EXPORT_SYMBOL() in appropriate places 2014-02-27 16:00:51 +01:00
info_oss.c
info.c ALSA: core: fix buffer overflow in snd_info_get_line() 2014-08-22 07:21:05 +02:00
init.c ALSA: control: Protect user controls against concurrent access 2014-06-18 15:12:33 +02:00
isadma.c
jack.c
Kconfig
Makefile
memalloc.c
memory.c
misc.c
pcm_compat.c ALSA: pcm: Add tstamp_type and proto to sw_params compat layer 2014-07-21 09:08:18 +02:00
pcm_dmaengine.c ALSA: pcm_dmaengine: Correct support for 24bits physical sample widths 2014-07-04 18:55:25 +01:00
pcm_lib.c ALSA: pcm: fix fifo_size frame calculation 2014-09-22 08:51:35 +02:00
pcm_memory.c
pcm_misc.c ALSA: pcm: Fix the silence data for DSD formats 2014-08-22 11:24:58 +02:00
pcm_native.c ALSA: pcm: Introduce protocol version field to sw_params 2014-07-21 09:07:46 +02:00
pcm_timer.c
pcm.c
rawmidi_compat.c
rawmidi.c ALSA: Move EXPORT_SYMBOL() in appropriate places 2014-02-27 16:00:51 +01:00
rtctimer.c
sgbuf.c
sound_oss.c
sound.c
timer_compat.c
timer.c ALSA: core: Use ktime_get_ts() 2014-06-12 12:58:16 +02:00
vmaster.c