Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp995043ybt; Fri, 19 Jun 2020 20:58:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKv6YDchoSo0qbUfmPjsbRqabdO7WaG2c4P3Mw95zwLNfhoM5/RL6/WDz4zhL1m17mUg0r X-Received: by 2002:a17:906:6b8a:: with SMTP id l10mr6102877ejr.465.1592625513541; Fri, 19 Jun 2020 20:58:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592625513; cv=none; d=google.com; s=arc-20160816; b=i+OBZjAR8OTrf24KNMrO6GYuQO2ha08foo4RiqSvxu679MWsrf/6mvfcGDn88zm8MO W6iHc6yjXRmbZlBZYq4rupoXWstVhgYdTQhCHvoA1eIjMGAdHnDKmEdydMF1o5HZSnGJ NlH5abkYDTQEdy4rnnyt3sbthKgtHwDywLxVU0Gvl0Ls1fMqm2oCDt6EN8JZXhgVvLVd AScy6wSuwGH6UXbd7qJzYh1WX7P3shzVTQ2l7uNkB1VSxD7Hu7ZnRyZ78ES+yhgeuS7R NGXlpmqQr1qgevU83+CVFwK3dgwmIKnKKG3cIkGt8nz5iutm0heivswNMrTikKjQqcRk eGXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=aHC+Qpk/qDBGh50/7fltK1lx8ZZTTQbzfRuJG/VnVks=; b=yP8IzKJ6uFuu+ZJrk3G0Xrd2cstxhhdQdoPQZ/k1PKBF1gFiSYT3VVXQV4ZnoEp8Rj S2krJrdEvetO+iD+rtWveOm6SP2xxEjdaiXOj8K4kiUjw4+6/kWzw1B/lTI2jTEbn4dQ M7Y/2wodNwrz0aLjR+TVoYLcWYmI4mue8K0VCnLqC1Ge3z1XcZr1ZyzdaqkIodeqDQXM PscOkE82++3PFa4j++YI+aowyVc6uIVhHahYuo74yBPIQ4ud4mlDZmTKUQGRSV1CR/mB AwhD2fTQ3CmMLYuecW0VkNTB2yWKsh8jQ1MC6fzbsauumULF+mnIIEp0//zDMmBO25qX 0QVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QZ7dSvjA; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si4981144edu.550.2020.06.19.20.58.11; Fri, 19 Jun 2020 20:58:33 -0700 (PDT) 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=@kernel.org header.s=default header.b=QZ7dSvjA; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394969AbgFSQ3b (ORCPT + 99 others); Fri, 19 Jun 2020 12:29:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:49242 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389871AbgFSOyh (ORCPT ); Fri, 19 Jun 2020 10:54:37 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 EB4AC21556; Fri, 19 Jun 2020 14:54:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592578474; bh=I9StSnQTve+NRfXNCgjhEtbvSfCpEbTyi7oxIjiSrxE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QZ7dSvjAxvIcGroMlF0+KoqWIjTrLp8xHcWso8ek3uwojLLc8mDQPKu5djMz3Lo7g XnMYnLUj8thwiUW2wang++gLYbbwFQiRpzRayeADXyhyaPEKkK9RNUeToRalqrszne RkV9AubcAiQglOvJ6zyxp7osuOcYJvLnjAnRaD8o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , Takashi Iwai Subject: [PATCH 4.19 036/267] ALSA: usb-audio: Add vendor, product and profile name for HP Thunderbolt Dock Date: Fri, 19 Jun 2020 16:30:21 +0200 Message-Id: <20200619141650.577504242@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619141648.840376470@linuxfoundation.org> References: <20200619141648.840376470@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kai-Heng Feng commit 0c5086f5699906ec8e31ea6509239489f060f2dc upstream. The HP Thunderbolt Dock has two separate USB devices, one is for speaker and one is for headset. Add names for them so userspace can apply UCM settings. Signed-off-by: Kai-Heng Feng Cc: Link: https://lore.kernel.org/r/20200608062630.10806-1-kai.heng.feng@canonical.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/usb/quirks-table.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -39,6 +39,26 @@ .idProduct = prod, \ .bInterfaceClass = USB_CLASS_VENDOR_SPEC +/* HP Thunderbolt Dock Audio Headset */ +{ + USB_DEVICE(0x03f0, 0x0269), + .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { + .vendor_name = "HP", + .product_name = "Thunderbolt Dock Audio Headset", + .profile_name = "HP-Thunderbolt-Dock-Audio-Headset", + .ifnum = QUIRK_NO_INTERFACE + } +}, +/* HP Thunderbolt Dock Audio Module */ +{ + USB_DEVICE(0x03f0, 0x0567), + .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { + .vendor_name = "HP", + .product_name = "Thunderbolt Dock Audio Module", + .profile_name = "HP-Thunderbolt-Dock-Audio-Module", + .ifnum = QUIRK_NO_INTERFACE + } +}, /* FTDI devices */ { USB_DEVICE(0x0403, 0xb8d8),