From patchwork Sun Aug 11 04:19:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?6IOh6L+e5Yuk?= X-Patchwork-Id: 13759674 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2059.outbound.protection.outlook.com [40.107.215.59]) (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 A00B9E57D; Sun, 11 Aug 2024 04:20:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.215.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723350006; cv=fail; b=XcS+axmqOCFjOopmqQtC46gngddutTsMpozouHMa69ndsb9jMaplGZ7wCt7LW9lblNJnJSK2R83g71XOZ7wSz9tknS+GgNumO0Ae0MVXxeCKwx1oXXRkRa73eBcOKo+ucHb/KyaWuVITOEdA8oZiDp0T0Z5aDqop+rjrpyOQrMo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723350006; c=relaxed/simple; bh=RAGDmrvKfvTTEzJsQgI/E0Otqe0HHzltuxfSf29GkwU=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=hXRZX2HuiUGrfW4qB+vjfGbv+T9n3uRz44m0yeH57HZSOUPYsf27xmQD0kDuuxrhhL2p9Baz2VSMkQvX5XnqVaMZ9n+4OtbA1+dDk+MS7PvMv726pTy4VpfjWJxuzOOCh0SUdkBx7132EnetG5e5WfWQbww1XUNOEg6Jfknac6g= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com; spf=pass smtp.mailfrom=vivo.com; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b=gca7pUwR; arc=fail smtp.client-ip=40.107.215.59 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vivo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b="gca7pUwR" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CAJaC6cSFkFHaFVTOG7KI9JiqhuGmZ7UsAs683mu0fumgMQG3e54mJpmnFX44A+n/G2wSXHtlGfKSFdOzt6aqZzYTw5Zr43jWwdHWAkvB4SCE/WwegFz3/AQchF+k21jodlnpDM/StEV2DGlbQMXwmaIvcmFGH8ibssmBgQrqOedCO4vObhPYHAoXRmluPjEAKY+HM/R25Ren/BAf1UNwz4Cyl0bVfSRfJvr8eXwZ+Flxhwh6pGigThWhYlcNjVpgctiR1nwDjqD5nPH80X4JRyFRu+G1TsHI8zzl4ECIX7HLrHsSo2PJeEHhFCrjMP7btMKp231tcODGbRd2xliLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RAGDmrvKfvTTEzJsQgI/E0Otqe0HHzltuxfSf29GkwU=; b=ibGc9OozJuJWTWQCOmCTL2FH0a266Xp4OAZx1Z6KXF5deAK00Iez4qp543u9L+nrQjz27sI+EwlHTC07j33Xgf+kmW/ecdbQdxJOctruhca6C3WysTScD1epL1SMWvu299s3d8o13qDteufJjYJXAI8IPbTOpH8bYsZUEg9PQpkwj/7N31vOEdQQkHHeOopdJK2j94l7tiZEUEUNmF+BO9LtzsnhLX19INR1UNZ59PGT2Yk+5rs2xG6R2nVw1aWkkNJGlt59s5Cr8Zv378DKuuuFsJD5HnMhbY3b3wVrkKTLsEiKl0pF/jdxMljPmd57guxsSWg/Z8VVP90nN+HdIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RAGDmrvKfvTTEzJsQgI/E0Otqe0HHzltuxfSf29GkwU=; b=gca7pUwRK+OpgnDB4Z765Ww6OXKhFCJx0X0NFR2sd1/za5F9ZS5k6pmeH9b3Ep7KIC+UCJMEcWPN1KoREbDeORlFFDfh/vHhPm2FlLFLRVXtsw/CfRTLnPJZo3mDfvRQKaTStFHNcbC8deoei/RpTdQkmHfzldgz52zyEBA+k9zzGe1QttlAyfNpMwTV+MjcRlmZK11I1CgYaL9h/dFR6y5N2ovhsJdvIvhHdTMKgtC6/Sz94Rh6eC9T94lkmMGtdupuPClrM1l5+CfStlHXAO/qj2qlDYhSxAS1Gm9yluEP4gFVOc4a7E4jcKAJhY+WeBzgSQHinmVuqbaZJbgNsg== Received: from TYUPR06MB6217.apcprd06.prod.outlook.com (2603:1096:400:358::7) by SEZPR06MB5439.apcprd06.prod.outlook.com (2603:1096:101:cf::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.19; Sun, 11 Aug 2024 04:19:55 +0000 Received: from TYUPR06MB6217.apcprd06.prod.outlook.com ([fe80::c18d:f7c6:7590:64fe]) by TYUPR06MB6217.apcprd06.prod.outlook.com ([fe80::c18d:f7c6:7590:64fe%4]) with mapi id 15.20.7849.015; Sun, 11 Aug 2024 04:19:55 +0000 From: =?eucgb2312_cn?b?uvrBrMfa?= To: Takashi Iwai CC: "perex@perex.cz" , "tiwai@suse.com" , "mbarriolinares@gmail.com" , "wangdicheng@kylinos.cn" , "sean@mess.org" , "alexander@tsoy.me" , "xristos.thes@gmail.com" , "knuesel@gmail.com" , "linux-sound@vger.kernel.org" , "linux-kernel@vger.kernel.org" , opensource.kernel , "akpm@linux-foundation.org" Subject: =?eucgb2312_cn?b?tPC4tDogW1BBVENIIHYxXSBBTFNBOiB1c2ItYXVkaW86IEFkZCBkZWxh?= =?eucgb2312_cn?b?eSBxdWlyayBmb3IgVklWTyBVU0ItQy1YRTcxMCBIRUFEU0VU?= Thread-Topic: [PATCH v1] ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET Thread-Index: AdrrpT4p2z6KppW7RYaY4XvOGYj0YQ== Date: Sun, 11 Aug 2024 04:19:55 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYUPR06MB6217:EE_|SEZPR06MB5439:EE_ x-ms-office365-filtering-correlation-id: 3502595b-d630-41d3-aef1-08dcb9bcda9e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|38070700018; x-microsoft-antispam-message-info: =?eucgb2312_cn?b?NHg4aHkxY0lidDBLbUlnS0xBUWlF?= =?eucgb2312_cn?b?RnhYVTg0MFkwbWNaMm5aOXdpTjdVWk1Pb0IzRWJnY1JTOCt0akxmQmFTVmZCWkdE?= =?eucgb2312_cn?b?Z2RnckxNN2hjYnArdUtMTXlsVWdERFlUR1N6NjVyeWZyNkYzRGV3VHJVY2dNcmo0?= =?eucgb2312_cn?b?V2ZaSVZzc2xaMXJhWWxKczRJSGZPeW1ZTTFaVFpyUmxON09jWDFBT21LZ3h1NHZn?= =?eucgb2312_cn?b?VDdIbk9wcDEzS1NYR0YxN3Z5UndHL3A0VW5ZTjZYOE41cnJaNTYxaUhJaHFEMWNz?= =?eucgb2312_cn?b?Z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I;SFV:NSPM;H:TYUPR06MB6217.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?eucgb2312_cn?b?SkdtazFrd05YVFRzTUlDVHFM?= =?eucgb2312_cn?b?QVhwTmxlZVpvQW80SnpRVDRkOVJtcGEvRElFbFRubnpGdW5oZXVDQlhTNVlSb1Va?= =?eucgb2312_cn?b?Ty9qdGV5OWNnTjJZYXluTys0bjJVZjlPVCsza2ZlQ1N6bU1mTEJHTHNlZldFcmRW?= =?eucgb2312_cn?b?ZkF5SVhqS0FZc0J3Z0dzRlQ5TkgxR0tMMm9Fcjd6U056Z3FsQk1hUG1aSTlteitW?= =?eucgb2312_cn?b?ck5VMjNGYmFHeXdrQk1qalM2SCsyV2hTRVhpTG5idm5sSmpubXZCM1Q0NUpBbHp4?= =?eucgb2312_cn?b?dnF6S1QyNnlmZTZTVFUycEh4MWIyRzRpUHFxZEtNNlV4WEp0MS9iem13Y0ZHSTk1?= =?eucgb2312_cn?b?Rm91MXg2WHdvRlpNSng0dzhhNGJXbTQ1TDlFTHhRbkZNSDZSSWFUamp1cHRBV1Q0?= =?eucgb2312_cn?b?bG5tWHBCQ2JzYmNEZTlSdkVVN2JCNXZqaGdISVA4REh5WWV3endRMG5NR0RudXEx?= =?eucgb2312_cn?b?U2ZnaVRyTmpqR3B1VUk1eTZ4a0hoRExLbUtaWmtTcDRBdGdrRm1ZOVQ3RkgwZlk5?= =?eucgb2312_cn?b?YVhKcHEraHRORHR4QTZVNVlPbXBkcUhpemZEWFEwaGU5QWYrT1JWYmRHZWI5T1NJ?= =?eucgb2312_cn?b?MnBuenFsUmMzQmk5b0FNWlM4SEMwbWU5R3ZoQVFUZlM4MzZZTStPMnFEaDNBQldH?= =?eucgb2312_cn?b?eCs4RmI4VTNxeFpsbGpkRmJYSm9SRXBhT1l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Ny85M3Z0eEVKbG5ZT2RIUEIy?= =?eucgb2312_cn?b?NXFCVHQzNWJaK1UvM2praG4wTFlnUHVTb1oyalppM29QdEVkdmJ6QlRpSUFZZnl4?= =?eucgb2312_cn?b?b0dMVGZFZGdwZ1RLM1crVHFzVEdBWng5OHFaOEhDMFB0UlB6ZHVEc0xkc0hoZ09k?= =?eucgb2312_cn?b?cE1hRmIrc0VDdmpsUWFIdzhUUWNvTnNFOVNwTU9HMlBJeTg0MGFHZGNwOUVQeEJ5?= =?eucgb2312_cn?b?UzBoSGQxWFJLN3FRbDdKZUhZU1FjTS9udFhFZ09uT0c5M1QzajFsNVR5cXN1cW1T?= =?eucgb2312_cn?b?R090L3Zmb2V1V3NlTjBFdWVWc2g5OW54ZmEzQTVZcitqQktFYW93ZEZiQlVQQ0xI?= =?eucgb2312_cn?b?OEo1VHdzR3ROQlJJaXoza2t5NnhnQ2pva2srdXRaVjF4Vno0UjlqVWN3ZGRIbmtV?= =?eucgb2312_cn?b?YVhaSE1VaFV5WmtwTnRYcE5NOHhFU215K3YzbHRlMW5VQzBzUE51RFFpWFVHWkRX?= =?eucgb2312_cn?b?NkROY0hYS2RpaFowYXdpUFBpZ3E5VTFYY1pmRTI5T3R6M3prbE9wcUNFS0owRkRG?= =?eucgb2312_cn?b?RC9wMWNvRDN0ekdLc1FWRHZkemlTUCtnOD0=?= Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYUPR06MB6217.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3502595b-d630-41d3-aef1-08dcb9bcda9e X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2024 04:19:55.2209 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4YaJ6zHjFTc/7wgzXVvdm0VW+spKIOthwTwqUXLnFqefEv00sRuFi1PpB2QIv3n6kniylm4cVK2dl13KZCHpjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR06MB5439 From: Lianqin Hu Audio control requests that sets sampling frequency sometimes fail on this card. Adding delay between control messages eliminates that problem. Signed-off-by: Lianqin Hu --- v1: - Modify the code position and sort by ID --- sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index ea063a14cdd8..e7b68c67852e 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -2221,6 +2221,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = { QUIRK_FLAG_GENERIC_IMPLICIT_FB), DEVICE_FLG(0x2b53, 0x0031, /* Fiero SC-01 (firmware v1.1.0) */ QUIRK_FLAG_GENERIC_IMPLICIT_FB), + DEVICE_FLG(0x2d95, 0x8021, /* VIVO USB-C-XE710 HEADSET */ + QUIRK_FLAG_CTL_MSG_DELAY_1M), DEVICE_FLG(0x30be, 0x0101, /* Schiit Hel */ QUIRK_FLAG_IGNORE_CTL_ERROR), DEVICE_FLG(0x413c, 0xa506, /* Dell AE515 sound bar */