From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 3250B4D1797; Thu, 17 Sep 2026 17:03:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789664604; cv=none; b=sk6MFZ0NZlL+F4llft21Yi0coyC+QuuUDbdlIpw6yGzk5kFdX5PC4ofGwbK2aB4t5JB7PZ20bbUd8C0HXxDQhcxQWkhIdFuWdaP/qjCRdPjSMrmyNl2hdzuLW78wNImNBNxIP0JBNjDb2xfI6Ff2a9M2eM64EfwInsgkb+IFLYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789664604; c=relaxed/simple; bh=Os6AShXdRqK8EnxgwzhxZF78nk52FIZhuahHBnXfZ9c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=I14pKkPeC4jHcVGzCjFLynBS2Y1lQo7xlyKVYu1ZIaMKpGXkJSYxhIlzrG/W7ggW0aghXPL8RI9lD8YC70JEu+5GHSyOHzf10YPmcBwnHyi5Qe72K0wFafI4GfNU3Gtm7ZWs09Dw1PxUBeJHPtdNPUO3gPYxSXAcmS1+vF5EY2c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sqI6XNG7; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sqI6XNG7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BEFE1F000FF; Thu, 17 Sep 2026 17:03:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789664603; bh=pSOXak0krTzlqJobtMtG/TgT8i9Xbmpn7wQlY4e/cMo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=sqI6XNG7hAllmi/QJPYBHYLhxoeXJofdQrS5MQKg8tF3LQyteGoG7EdDj50qRl4z/ JY6zeJy1KuRajT2oDO8jDXftZLEJm1YV9mr8Ug4Uzkzs9ElAdrZjsAIcZfjLmJC4nx 318l1TEGnIpVSEI7te8rNL7HbFQOcDC0QIdi3C5M= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ai Chao , Takashi Iwai , Sasha Levin Subject: [PATCH 6.18 0426/1250] ALSA: usb-audio: Add quirk flags for SC13A Date: Thu, 17 Sep 2026 16:03:41 +0100 Message-ID: <20260917151603.561572348@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260917151551.901433442@linuxfoundation.org> References: <20260917151551.901433442@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ai Chao [ Upstream commit 8956950dab22fbaefe92ca1980728165c5da793d ] The SC13A ( VID 0x1ff7, PID 0x0f81) not support reading the current sample rate and results in an error message printed to kmsg. Set QUIRK_FLAG_GET_SAMPLE_RATE to skip the sample rate check. Quirky device sample: usb 3-5.2.4.1: new high-speed USB device number 11 using xhci_hcd usb 3-5.2.4.1: New USB device found, idVendor=1ff7, idProduct=0f81 usb 3-5.2.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 3-5.2.4.1: Product: SC13A usb 3-5.2.4.1: Manufacturer: Linux Foundation usb 3-5.2.4.1: SerialNumber: 000002 usb 3-5.2.4.1: Found UVC 1.50 device SC13A (1ff7:0f81) usb 3-5.2.4.1: 3:1: cannot get freq at ep 0x86 usb 3-5.2.4.1: Warning! Unlikely big volume range (=4096), cval->res is probably wrong. usb 3-5.2.4.1: [5] FU [Mic Capture Volume] ch = 1, val = 0/4096/1 usbcore: registered new interface driver snd-usb-audio usb 3-5.2.4.1: 3:1: cannot get freq at ep 0x86 usb 3-5.2.4.1: 3:1: cannot get freq at ep 0x86 Signed-off-by: Ai Chao Link: https://patch.msgid.link/20260617025234.3344935-1-aichao@kylinos.cn 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 5eef4f3c57167..d879569914ac6 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -2335,6 +2335,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_MIC_RES_16), DEVICE_FLG(0x1bcf, 0x2283, /* NexiGo N930AF FHD Webcam */ QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_MIC_RES_16), + DEVICE_FLG(0x1ff7, 0x0f81, /* SC13A Webcam */ + QUIRK_FLAG_GET_SAMPLE_RATE), DEVICE_FLG(0x2040, 0x7200, /* Hauppauge HVR-950Q */ QUIRK_FLAG_SHARE_MEDIA_DEVICE | QUIRK_FLAG_ALIGN_TRANSFER), DEVICE_FLG(0x2040, 0x7201, /* Hauppauge HVR-950Q-MXL */ -- 2.53.0