Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp974174imu; Fri, 4 Jan 2019 10:30:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN4uGs6awjM/Bc5iTl3gtcT4ek1B63by7QDHRjOLnU/EE0zkBw0/aHHprPp8QzscNLUzyIMm X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr51977115plb.169.1546626654694; Fri, 04 Jan 2019 10:30:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546626654; cv=none; d=google.com; s=arc-20160816; b=1AClqR7bHh9lAnOQZwdhkci1+aDTClbOJuzgsefyv8zjgXGc+wD+h7ArF2zS/5l5A2 XAZ+rPgPo6UqLncBW84fnfZdVPTp3R1pXKiBmc/+zL0EmWC/uPMALxAtK6k7SsJq+d8V Q4dNmdT8MzAyq6rXpxeGvDlyv3oCkK+YCgca9K+N6/fTnnEW31SQAH7jU9Z8pcgoL6mc Lj/dGc/dbBsc6YY2TF2RY7TM1DtyqHgkr21LX5WfVbyB+LRk43pwIGMumigtNcYne1Q2 usa9OyX8wnmTQJbjZLc3QScFscY42ytkMoi46H3h3+n5iJLGYrQoYxac6ma5uE104DoY F/4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=iT+Vi+hw/+Rjn3IsUhGlU3mZPcOYaOD+tFX4YTmMoqQ=; b=0BTNe1cfAayon6REzxpcwyfRkC3YyaXRf5zZS/vzi7m2xsASvSzxzxHxCh6GxdqhNy hFAXsF9B2DLW9GJXyuDZTbRY+vZO0vLeh6pa2WvxsjKnHWFR8WW/lnOH1MhtPnqW2mmx QSihR7k0NMZAnwyd4FmkZ/m35k2KGb3lzQv6602ltbVxZp1VznuOiwuEWP+h4c92vHX8 Z4hYS7HayySLhVePLoNPVb1Andu8SJR/06ZcXvoNpQhQpAQ83BZjqHdEIR4yy2jwRTbI vcnt1XE4O2PDsxPbYPqMNontELgJNf9T4XZ8zVwF+IIJk0yvP8uCRhIf1CH5dzoshDaX imLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1si38025001pld.197.2019.01.04.10.30.38; Fri, 04 Jan 2019 10:30:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727592AbfADRNb (ORCPT + 99 others); Fri, 4 Jan 2019 12:13:31 -0500 Received: from mga05.intel.com ([192.55.52.43]:50027 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726344AbfADRNb (ORCPT ); Fri, 4 Jan 2019 12:13:31 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jan 2019 09:13:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,439,1539673200"; d="scan'208";a="123320891" Received: from lwozniak-mobl.amr.corp.intel.com (HELO [10.254.50.87]) ([10.254.50.87]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jan 2019 09:13:29 -0800 Subject: Re: [alsa-devel] ALSA:usb audio Higher sample rates on usb audio no longer working. To: "Gopal, Saranya" , Takashi Iwai , Con Kolivas Cc: "alsa-devel@alsa-project.org" , "linux-usb@vger.kernel.org" , linux-kernel , "felipe.balbi@linux.intel.com" References: <5c7b2c6b-5dcc-7170-f6e1-bf6021bbb72a@linux.intel.com> From: Pierre-Louis Bossart Message-ID: <51872184-3de0-6e69-60e3-c3b4898dcdfa@linux.intel.com> Date: Fri, 4 Jan 2019 11:13:29 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/4/19 10:52 AM, Gopal, Saranya wrote: >>> [ Adding linux-usb ML to Cc, as it's a core USB issue ] >>> >>> So the device seems incorrectly advertising as if it were supporting >>> UAC3 -- assuming the device is still not UAC3-capable. >>> >>> IOW, it's a buggy firmware. We need some blacklisting, or revert the >>> commit for now, unless any real UAC3 device comes up to the market. >> IIRC an UAC3-capable device is required to expose a backwards-compatible >> configuration (either UAC1 or UAC2). Maybe an additional test can be >> done to harden the detection so that UAC3 is only chosen if indeed a >> second audio configuration is present as well. >> >> I also vaguely recall there was talk about adding information in the BOS >> descriptor, but I don't know if this was ever published. >> >> -Pierre > The current detection logic is that UAC3 configuration is chosen only when a device has a configuration with audio interface supporting UAC3 protocol. > Additionally, it already makes sure that UAC3 is selected only when there is more than one configuration. What I meant if that the other configurations are not checked for UAC1 or UAC2 capabilities, you only check that there is more than one configuration