Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp834012pxu; Mon, 23 Nov 2020 05:28:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfP1RhdRI99xSJujQN9c92E3L5m+RW5crc0+9mNcVTvH+QHufpcwLA9YXhzLxE69NXRPGw X-Received: by 2002:a17:906:34cd:: with SMTP id h13mr20437298ejb.350.1606138113913; Mon, 23 Nov 2020 05:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606138113; cv=none; d=google.com; s=arc-20160816; b=QG8S6IlbUA5v7J+brpPHB2GsQdmdKludddB9QL8Wsazf3JI3Fxi2nONrS+6Bsdzx0E vfoqiQWhqK8AeBvCZNvQu1kbT1rCL1lTZGvrm6AORlM/j/bGWxllWl+XMy7BKi80hEVJ MCx9bg1evjiuweP/H241HhtBLDpDHc1dFtCd5a2jSNmef5rYPMi+AI8/7kv8XkVC7uMw PfeRFSU/9wKx6lkizb32MIA8bzRkOzyPZYhPqDBl+oFl/S1Ra1qrrOq8fJlboUJw45t6 3XDC/tFLkHSocGogj4RWYl/QZOYeHdB9giZUD8FSOAAKCToJ4v8n+JXTJRcA0yilhUcE u6XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TFECsUnqNnSA9OVf8NU3lZG/YXRCqVEIuYdFbrbaspo=; b=w/qWz/2L4ktQliaFZAwWjhh/jFf3dkYYzQMfogUwWQ7z5fn1KIDvMrKds8HS5WwPis oDOtqeuXKcgUEm5aTmdLOnpK5K5Yvn2HsdKVbC6NmrW8ipon08VfB5htpAqwLc/qQQ/P UEkR45NMvrIeolYo1uq68CZv2W+2HhTCsLHKBUXMyNi+L0c7ovoyZtlxueArsV2eGtSN t/5qap2Lis+dZyv6Ki8dOoqa0OYAva3L9y5Zrk8hH9B+w6Wb5zUzdskGoQyXaUIdUqTk 4iVnwh2FZbKJZxkdSXsLsb/bAerdzw5uOmnocFHNYVRF7EI1+f9CyVtxiU7VPhdiHfHj Vcpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="A/1oHFaG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dx21si7434654ejb.657.2020.11.23.05.28.11; Mon, 23 Nov 2020 05:28:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="A/1oHFaG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731182AbgKWMdQ (ORCPT + 99 others); Mon, 23 Nov 2020 07:33:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:44096 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731130AbgKWMct (ORCPT ); Mon, 23 Nov 2020 07:32:49 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 860BF20728; Mon, 23 Nov 2020 12:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606134769; bh=KfiVTUPDn9XdCvl5t8yWBT3EQmYTDUqEzT1mSrp4Bcs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A/1oHFaGyUZvcT8BZ74C1oNQ9fUoJloQtUdtdfno1sMuiv9Dhouy9uCNi8AeYAdDv D2XL66M4LnOidMbWo1qFcyy4NV7FKXvT1YJVCPtXPds/0m38zKzKLL+7IG5yxHJRk1 7J7HnhTlDlUdFkEKHdyUfuYyP2U3Tf3Tjtbk3CwY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joakim Tjernlund , Takashi Iwai Subject: [PATCH 4.19 68/91] ALSA: usb-audio: Add delay quirk for all Logitech USB devices Date: Mon, 23 Nov 2020 13:22:28 +0100 Message-Id: <20201123121812.628822307@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121809.285416732@linuxfoundation.org> References: <20201123121809.285416732@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joakim Tjernlund commit 54a2a3898f469a915510038fe84ef4f083131d3e upstream. Found one more Logitech device, BCC950 ConferenceCam, which needs the same delay here. This makes 3 out of 3 devices I have tried. Therefore, add a delay for all Logitech devices as it does not hurt. Signed-off-by: Joakim Tjernlund Cc: # 4.19.y, 5.4.y Link: https://lore.kernel.org/r/20201117122803.24310-1-joakim.tjernlund@infinera.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/usb/quirks.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1338,13 +1338,13 @@ void snd_usb_ctl_msg_quirk(struct usb_de && (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS) msleep(20); - /* Zoom R16/24, Logitech H650e/H570e, Jabra 550a, Kingston HyperX - * needs a tiny delay here, otherwise requests like get/set - * frequency return as failed despite actually succeeding. + /* Zoom R16/24, many Logitech(at least H650e/H570e/BCC950), + * Jabra 550a, Kingston HyperX needs a tiny delay here, + * otherwise requests like get/set frequency return + * as failed despite actually succeeding. */ if ((chip->usb_id == USB_ID(0x1686, 0x00dd) || - chip->usb_id == USB_ID(0x046d, 0x0a46) || - chip->usb_id == USB_ID(0x046d, 0x0a56) || + USB_ID_VENDOR(chip->usb_id) == 0x046d || /* Logitech */ chip->usb_id == USB_ID(0x0b0e, 0x0349) || chip->usb_id == USB_ID(0x0951, 0x16ad)) && (requesttype & USB_TYPE_MASK) == USB_TYPE_CLASS)