From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 216953AD513; Mon, 23 Mar 2026 14:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774275318; cv=none; b=KUYoFQYRkQVou6jhUs4QZpzncTLvMI5oaRQ0JYTFzBO+dfR6hHg+RnsQjihgSzfdu4xOpceVJ7TLI/mc6Eorm+MwOJkXGI3upcnBWfvtztSKxDKGSgSZaKgWiGpVKkAx91meHrf2GWBd4O6V8CF+WYLpRlIdRW4o0FnUil4sVck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774275318; c=relaxed/simple; bh=xWW3AO19YNz0Rz4owt8t7yMDFV/DR9EPTKwpREeJe78=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=baT6rcXks4BgbyG/250a1sKVbT9+aveJ/J8bMKsLq6c/1Ds5k/RohdTul8hZsDUvnbHU93yaFlw6vrouXbQGS1pD4ykqx7bCLocjlryqfAv7j8lv9N8z1Td3/myK3gvaoca7ah6QGKHE6eDgHF3eVX+Sqt1/FvXnHYNzrtO8Hjk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oq/fcD8S; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="oq/fcD8S" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF6FAC2BCB1; Mon, 23 Mar 2026 14:15:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774275318; bh=xWW3AO19YNz0Rz4owt8t7yMDFV/DR9EPTKwpREeJe78=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oq/fcD8SWLZmD31WXMDJ7E1VVKljL860SuQnIht2vxDL8e2vL+pD3sdMqQ0iPeRx5 gRmZo8JjzoqvXQXNxX3joHSWK2AhLa4oa0eivY1UNwxHyHr3byQ97HTATYSimSfJAS RBNt1eJh7/9bKFBlIAcA2z3BHhToS/KOmPPNYozY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Takashi Iwai , Sasha Levin Subject: [PATCH 6.12 013/460] ALSA: usb-audio: Avoid implicit feedback mode on DIYINHK USB Audio 2.0 Date: Mon, 23 Mar 2026 14:40:09 +0100 Message-ID: <20260323134526.992034739@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260323134526.647552166@linuxfoundation.org> References: <20260323134526.647552166@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Takashi Iwai [ Upstream commit c5bf24c8aba1ff711226ee0f039ff01a5754692b ] Although DIYINHK USB Audio 2.0 (ID 20b1:2009) shows the implicit feedback source for the capture stream, this would cause several problems for the playback. Namely, the device can get wMaxPackSize 1024 for 24/32 bit format with 6 channels, and when a high sample rate like 352.8kHz or 384kHz is played, the packet size overflows the max limit. Also, the device has another two playback altsets, and those aren't properly handled with the implicit feedback. Since the device has been working well even before introducing the implicit feedback, we can assume that it works fine in the async mode. This patch adds the explicit skip of the implicit fb detection to make the playback running in the async mode. Link: https://bugzilla.kernel.org/show_bug.cgi?id=221076 Signed-off-by: Takashi Iwai Link: https://patch.msgid.link/20260225085233.316306-4-tiwai@suse.de Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 41752b8197463..5c3a97ea46e04 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -2351,6 +2351,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { QUIRK_FLAG_SHARE_MEDIA_DEVICE | QUIRK_FLAG_ALIGN_TRANSFER), DEVICE_FLG(0x2040, 0x7281, /* Hauppauge HVR-950Q-MXL */ QUIRK_FLAG_SHARE_MEDIA_DEVICE | QUIRK_FLAG_ALIGN_TRANSFER), + DEVICE_FLG(0x20b1, 0x2009, /* XMOS Ltd DIYINHK USB Audio 2.0 */ + QUIRK_FLAG_SKIP_IMPLICIT_FB | QUIRK_FLAG_DSD_RAW), DEVICE_FLG(0x2040, 0x8200, /* Hauppauge Woodbury */ QUIRK_FLAG_SHARE_MEDIA_DEVICE | QUIRK_FLAG_ALIGN_TRANSFER), DEVICE_FLG(0x21b4, 0x0081, /* AudioQuest DragonFly */ -- 2.51.0