At Tue, 30 Oct 2012 20:34:00 +0100, Ondrej Zary wrote:
On Wednesday 17 October 2012 08:57:39 Takashi Iwai wrote:
At Sun, 14 Oct 2012 21:09:23 +0200,
Ondrej Zary wrote:
set_pro_rate() is called from hw_params() but not from prepare(), breaking running PCM on suspend/resume. Call it from prepare() if PCM was suspended to fix the problem.
Signed-off-by: Ondrej Zary linux@rainbow-software.org
This should be fixed in the resume callback. Could you check the patch below instead?
I've now verified that this patch fixes a real problem. When "multi track rate locking" is disabled and some sound is played at non-default (non-48kHz) frequency during suspend, the frequency is wrong (48kHz) after resume. This patch fixes that.
OK, the patch was applied now. Thanks for checking.
Takashi