-
由 Daniel Girnus 提交于
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: NDaniel Girnus <dgirnus@de.adit-jv.com> Signed-off-by: NJens Lorenz <jlorenz@de.adit-jv.com> Signed-off-by: NJiada Wang <jiada_wang@mentor.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
1e2e3fe4