Patch "ALSA: hiface: Fix M2Tech hiFace driver sampling rate change" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
alsa-hiface-fix-m2tech-hiface-driver-sampling-rate-change.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
995c6a7fd9b9212abdf01160f6ce3193176be503Mon Sep 17 00:00:00 2001
From: Jussi Laako <[email protected]>
Date: Mon, 28 Nov 2016 11:27:45 +0200
Subject: ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
From: Jussi Laako <[email protected]>
commit 995c6a7fd9b9212abdf01160f6ce3193176be503 upstream.
Sampling rate changes after first set one are not reflected to the hardware, while driver and ALSA think the rate has been changed.
Fix the problem by properly stopping the interface at the beginning of prepare call, allowing new rate to be set to the hardware. This keeps the hardware in sync with the driver.
--- sound/usb/hiface/pcm.c | 2 ++ 1 file changed, 2 insertions(+)
sound/usb/hiface/pcm.c +2 -0
@@ -445,6 +445,8 @@ static int hiface_pcm_prepare(struct sndmutex_lock (&rt->stream_mutex); +hiface_pcm_stream_stop (rt); + sub->dma_off =0 ; sub->period_off =0 ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/alsa-hiface-fix-m2tech-hiface-driver-sampling-rate-change.patch