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 C42EF1E522; Thu, 30 Jan 2025 14:28:31 +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=1738247311; cv=none; b=MP171uujSdG7P12ksD3rfACVWm7S/d6rLXEcgVkgsA6HIhDf5nmTN0GDDfvHL8suNcAog8wcKz0Pkq8CzvCJfhnTi/Sc1GfC5tH+nNGnfRyOZvs7IZKqSLs/aGQNcOpQunY/ynYszgEE1wMruzKEz0RLHrebyRR+KI4gquubZIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738247311; c=relaxed/simple; bh=Ez8md6XMe9NTFIxkmRZXJ90C/84F9e4nBRgC28dNw1I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lLyjcEbHUjZ1njLIEbIueME0I13NEAvYqv93iR+LySHSl4JZ2StXu0O6HgWE4WTKAs2RLYxZ+BhJ6D9R/ib+GNYx3kE7dXJR13KhGkWLSUFYb4avRp68AJRlGxZaqBJRx2PlQeV0ftNb4U0QFt7sE04BlYGElaSB2gje9uNli2k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1/38spJz; 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="1/38spJz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F468C4CED2; Thu, 30 Jan 2025 14:28:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1738247311; bh=Ez8md6XMe9NTFIxkmRZXJ90C/84F9e4nBRgC28dNw1I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1/38spJzAGelxpWfOzrBRU3prr+cHaxuZO2UzzA9faNEH7YUr3ZmKvCZJCaoLnUf6 i4f45HxzC+2FEcwSeKDQgNii7Bxnd3l2reZsS3O7ejFBwkEj+gSo+A7Dn+EowFif2V JY5zTOo1Zl5VX/ve6sp9wuiUp9Y9n519QLeuWgwo= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Lianqin Hu , Takashi Iwai Subject: [PATCH 5.15 21/24] ALSA: usb-audio: Add delay quirk for USB Audio Device Date: Thu, 30 Jan 2025 15:02:13 +0100 Message-ID: <20250130140128.138878937@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250130140127.295114276@linuxfoundation.org> References: <20250130140127.295114276@linuxfoundation.org> User-Agent: quilt/0.68 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 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Lianqin Hu commit ad5b205f9e022b407d91f952faddd05718be2866 upstream. Audio control requests that sets sampling frequency sometimes fail on this card. Adding delay between control messages eliminates that problem. usb 1-1: New USB device found, idVendor=0d8c, idProduct=0014 usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 1-1: Product: USB Audio Device usb 1-1: Manufacturer: C-Media Electronics Inc. Signed-off-by: Lianqin Hu Cc: Signed-off-by: Takashi Iwai Link: https://patch.msgid.link/TYUPR06MB6217E94D922B9BF422A73F32D2192@TYUPR06MB6217.apcprd06.prod.outlook.com Signed-off-by: Greg Kroah-Hartman --- sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1836,6 +1836,8 @@ static const struct usb_audio_quirk_flag QUIRK_FLAG_CTL_MSG_DELAY_1M), DEVICE_FLG(0x0c45, 0x6340, /* Sonix HD USB Camera */ QUIRK_FLAG_GET_SAMPLE_RATE), + DEVICE_FLG(0x0d8c, 0x0014, /* USB Audio Device */ + QUIRK_FLAG_CTL_MSG_DELAY_1M), DEVICE_FLG(0x0ecb, 0x205c, /* JBL Quantum610 Wireless */ QUIRK_FLAG_FIXED_RATE), DEVICE_FLG(0x0ecb, 0x2069, /* JBL Quantum810 Wireless */