diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-04-06 10:24:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-04-06 13:47:15 +0300 |
commit | fc99d23f6d3ec6b17772915114018444393e0ad1 (patch) | |
tree | 8bf254e60afc92088060d2fbb56548ab3c54ee03 /crypto/cts.c | |
parent | b5aac5a9adf667f907c34c520e023bc19f8c226c (diff) | |
download | linux-fc99d23f6d3ec6b17772915114018444393e0ad1.tar.xz |
ASoC: rsnd: tidyup src->convert_rate reset timing
Current src->convert_rate will be set on .hw_param, and
be reset on .quit timing.
But, .hw_param will not be called again if user did Ctrl-Z + fg.
It should be reset on initial of .hw_param to keep its value.
Here, ctu.c already do this.
This patch solves this issue, other wise, MIXed sound will be
strange if user did like below.
> aplay -D plughw:0,0 sound_44100.wav &
> aplay -D plughw:0,1 sound_96000.wav
> Ctrl-Z
> fg # 96kHz will be played as 44.1kHz
Reported-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions