linux/sound
Daniel Girnus 1e2e3fe480 ALSA: usb-audio: avoid setting of sample rate multiple times on bus
Some of userland applications call 'snd_pcm_hw_params()' and
'snd_pcm_hw_prepare()' sequentially, which means 'snd_pcm_hw_prepare()'
is called twice and the second 'snd_pcm_hw_prepare()' is called in
'SNDRV_PCM_STATE_PREPARED' state.

Some devices are not able to manage this and they will stop playback
if the sample rate will be configured several times over USB protocol.

V2: updated Changelog

Signed-off-by: Daniel Girnus <dgirnus@de.adit-jv.com>
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-12-06 13:55:15 +01:00
..
aoa
arm
atmel
core ALSA: oss: don't opencode IS_REACHABLE() 2016-11-12 10:12:00 +01:00
drivers ALSA: opl3: don't opencode IS_REACHABLE() 2016-11-12 10:11:36 +01:00
firewire ALSA: bebob: compare whole string for model name so that readers are not confused 2016-11-18 09:22:47 +01:00
hda
i2c
isa
mips
oss
parisc
pci ALSA: echoaudio: Fix improper return value in function load_asic 2016-11-29 19:59:57 +01:00
pcmcia
ppc
sh
soc Merge remote-tracking branches 'asoc/fix/rt5663', 'asoc/fix/samsung', 'asoc/fix/sti', 'asoc/fix/sti-codec', 'asoc/fix/sunxi' and 'asoc/fix/tas571x' into asoc-linus 2016-11-04 12:33:56 -06:00
sparc
spi
synth
usb ALSA: usb-audio: avoid setting of sample rate multiple times on bus 2016-12-06 13:55:15 +01:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c