Re: [PATCH v23 17/32] ALSA: usb-audio: Do not allow USB offload path if PCM device is in use

From: Amadeusz Sławiński
Date: Wed Jun 12 2024 - 10:58:42 EST


On 6/11/2024 1:57 AM, Wesley Cheng wrote:
Add proper checks and updates to the USB substream once receiving a USB QMI
stream enable request. If the substream is already in use from the non
offload path, reject the stream enable request. In addition, update the
USB substream opened parameter when enabling the offload path, so the
non offload path can be blocked.

Signed-off-by: Wesley Cheng <quic_wcheng@xxxxxxxxxxx>
---
sound/usb/qcom/qc_audio_offload.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

Patch title is missing qcom part and it clearly touches QCOM code.
ALSA: usb-audio: qcom: