Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp831414pxu; Mon, 23 Nov 2020 05:25:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJy68o/UMSegKwSrOd8ItbzJZAX0lw84dXIzGW1ovGFy9SmwFKDhDjpysv26q5vQtddWTawX X-Received: by 2002:aa7:c94b:: with SMTP id h11mr45283106edt.322.1606137918983; Mon, 23 Nov 2020 05:25:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606137918; cv=none; d=google.com; s=arc-20160816; b=HKQjRdERG5iXbhpdHNeLhn1GigdvRUpbZ3MoPmg1CbEUabZCD77ilIJ3GOBJHEQ8pv 1ISk2vQjviqoxjPulG1tKRVHEv894ddGz2VklJI/aA+Euhii6oe2X/9U4Zt/sYAZcbIn SpZGW0JEbyOkZlFcRl0LP0xUxf4MCuFkj5EtwiiYPM6LTwdYgv1VyjLIaIA2bhrQ8RZa hZwJkT4G4nqGs5BNJ5p6n+yFwV0sYeuyKrBpcw7XfeLX5lCspbx6fCNlkJ19C4627XUm EUCuyq240QOkoQen+Tjp6Ul1HPnTFASBCokX4ml2C8mtPaD0BYsmx4CWCVaOv7Z22Nxw 36Fw== 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=Dw9/+VsNgezRVfFm2VzErYT8ulsEhaa4/PcEvlHkVGk=; b=oZXWCqsnRnI8iT/Tphrf5Ma+MJElwbwoIvKlR7B15H8BKpDwIn5ik2Jzr2Nqd0HrEP ySdQfif3EEKoJYJ5XMhQlASjmx78taLKxfBXBA73chFMkX9qAaKjZFMOZbWiG0oWY1yN oHlf97JsAWOqQeGgC+Rj6Dscdy3VnpuR4qHLD1GfAutbbUgKJ4RRJDPkFkrHBoORpyWj 5CdivY8X9RWqpu4ua3PQZTrVMpe9z+c0KJ0ZwF9OQErcutoKu+oVvKD8U9pLMwr8LfU4 oWdTpRbVxMdYRFH/M9Qjvpz5HX1OC11ebZHo9F8lzM8XEb95uLnlUHzXjeBmnlZ0VJ1B p6Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IrGrYUpr; 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 o1si6332600ejn.643.2020.11.23.05.24.50; Mon, 23 Nov 2020 05:25:18 -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=IrGrYUpr; 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 S2388818AbgKWNVE (ORCPT + 99 others); Mon, 23 Nov 2020 08:21:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:51684 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732166AbgKWMjD (ORCPT ); Mon, 23 Nov 2020 07:39:03 -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 71EAE20732; Mon, 23 Nov 2020 12:39:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135143; bh=MP07+DgV5VliNBEvZs4NQnTx3aI4h7LnQWIQ/Pa3V1w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IrGrYUprouRMCQdSELrWDmNAeWDgGN22ygKR5S/bqfaDS5PXHst07lAUTkORUpGx/ eFshEjDkqhE0T+bi6WvepM+tV8lFEtmYcrC56Qnh3CvES3AFmn+AjBqpl2as60fuax sfvceX+CgMrJXhyZLxWfTyymrABT1UuDsO07oAVA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joakim Tjernlund , Takashi Iwai Subject: [PATCH 5.4 118/158] ALSA: usb-audio: Add delay quirk for all Logitech USB devices Date: Mon, 23 Nov 2020 13:22:26 +0100 Message-Id: <20201123121825.632688384@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121819.943135899@linuxfoundation.org> References: <20201123121819.943135899@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 @@ -1604,13 +1604,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)