Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2077042imu; Sat, 5 Jan 2019 14:03:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN6vxU6kCoSM9PKRO7AbI06ALKtgSex/jWlZSOSNL6jQmMpI+HusRoh/DZ86l22m6ahDGtAa X-Received: by 2002:a17:902:9a04:: with SMTP id v4mr56595547plp.34.1546725817826; Sat, 05 Jan 2019 14:03:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546725817; cv=none; d=google.com; s=arc-20160816; b=LyL+LstGF3CKXj4tSGZhYvS1TCcIg9B3LncWxtptZzXR/cEQW0o1GFYaXHnGjNgQbY iLq/46IE7TmnPaGVgBNwJ+4x5xeX68MBiUe5Y2sm0U7qpos7iKC6DdgS4XIzktiFpapF prQSoBGuLjuE8/dwCm65j+zbLk/Ygxe37yRGWtu6Q2/EkIRnqtQ7VTMFviaKblnVxLW8 Wd+3+RB0O7bD+jd1/6S60nJr55RWM6+1ETlgVV2DGm0SpfbH67i6PmsbZ9Zo9W+7/rmw k9jY4F/MqAROElXRSsaEFhaHm8D7HeVEDTPN0kfcGfPuj64kJpSdshVkyACU1ajpNKHB Mcuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DmRVZBZmsTHVFdd46v+Um/GFIoz26g8IV9CwUqNwG/Y=; b=qxhOuyxvy5/Aeze6sHf5P2ebeLGCai3wteqFcqJh6rDeADdmAlkT3QgS4cyC+3D/ul FILoP8J8ZPwVKUYtezHOTK5HpgdR7DFbm0w1Y7TnHZhniIAXA9m1FDcvOM+9m9gEZC9H pcF+7X/C+/UCPX3BQN9A8TrrRqbLIoSC+z5U3vAnhSTPrKu+SBBWLQ2QJjIN/0+yZKAq /hFqsZUarXQJk0nuoaURp2VCC25vyh7uhzabWTNrJxhviia67XW/Dq7EUQzvqoSd/Kgj tWhaUprT+v5gm/JIpNf4LJpOSqTADDBx6iLLvDYFji5UfbyFRlZAlA8RtXdZjZlT5Zo6 Q5Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kolivas-org.20150623.gappssmtp.com header.s=20150623 header.b=LSkl+e3X; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2si14417393pgr.133.2019.01.05.14.03.22; Sat, 05 Jan 2019 14:03:37 -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; dkim=pass header.i=@kolivas-org.20150623.gappssmtp.com header.s=20150623 header.b=LSkl+e3X; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726388AbfAEWCR (ORCPT + 99 others); Sat, 5 Jan 2019 17:02:17 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:45231 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbfAEWCR (ORCPT ); Sat, 5 Jan 2019 17:02:17 -0500 Received: by mail-io1-f68.google.com with SMTP id c2so9990882iom.12 for ; Sat, 05 Jan 2019 14:02:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolivas-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DmRVZBZmsTHVFdd46v+Um/GFIoz26g8IV9CwUqNwG/Y=; b=LSkl+e3XmUQBJ/pXDY8K5MBL6SD2hskzrJ7D8Po4q0ImKQuRFKTKPOZ7N7dqY494Vd Jesb/5HfuD+JrRofHiOUTgVWiUo6oRXH6LcA7YV6LOQ89JMEn719X/RNEgEkgkhLEdoW JrASAYPRbgRxifo7EbWQ6KSKCR/WaXxC32T55BBnSoIzDhcNObLaOmMWyzDB07t2OFBj JHHOKtRoeYOhoCi7vWOEm9DPCqhSFH7yBowxvQDL0XakJ8ESYWybGwwK/4D6nSbMr+o7 3RbUvBZRNXNUJe4BYuXkca1OkM+RV/c7aVp0L5DGo6Fac6Z4YPA/fR9izQublQpdPKsF 6NFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DmRVZBZmsTHVFdd46v+Um/GFIoz26g8IV9CwUqNwG/Y=; b=rWXu5mb0CgLL66YGlsolbeKpuAelksPozVcs1sxCPe69QtJATU6M5/yEfv3FSfWXJ6 s5GNi9tmuWZjFsZ8CQdo+EkESSxZU0MfBZBQU1LHDXONdlzTR9C1/QL20QkzRK5jMYPt s/LN2Y5vx/qLkJi91mndkfWVHiHXUSP/3QcfQ371g6DG+lnvqP3l5osHC34og1knJjrA CQ2RQyQjlwKP4BCkV4J1dDFR04Ciw2Hm3tGbDJn4FQEpWuG9dTiAWERgLNU43WOOzw2E IUJwzdGIu1fnLpqILHEHmxPYbMbQ8wKhJJD0ENgjSlOnjYjWafXPj/WSRX3X5b28+BKk 4Z4A== X-Gm-Message-State: AJcUukdfnuX6a/PkcKb4ObFVJ1i1FrET5fFhXye6Q9gwBlKuEiFcmCNz LxgVrD762D+630DOPqqZ2GzwWz2c32KobtD0ar8CTA== X-Received: by 2002:a6b:7d42:: with SMTP id d2mr40056094ioq.150.1546725736452; Sat, 05 Jan 2019 14:02:16 -0800 (PST) MIME-Version: 1.0 References: <1546709942-28634-1-git-send-email-saranya.gopal@intel.com> In-Reply-To: <1546709942-28634-1-git-send-email-saranya.gopal@intel.com> From: Con Kolivas Date: Sun, 6 Jan 2019 09:02:05 +1100 Message-ID: Subject: Re: [PATCH V2] usbcore: Select only first configuration for non-UAC3 compliant devices To: "Gopal, Saranya" Cc: gregkh@linuxfoundation.org, Pierre-Louis Bossart , alsa-devel@alsa-project.org, linux-usb@vger.kernel.org, linux-kernel , Takashi Iwai , felipe.balbi@linux.intel.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Saranya On Sun, 6 Jan 2019 at 04:41, wrote: > > From: Saranya Gopal > > In most of the UAC1 and UAC2 audio devices, the first > configuration is most often the best configuration. > However, with recent patch to support UAC3 configuration, > second configuration was unintentionally chosen for > some of the UAC1/2 devices that had more than one > configuration. This was because of the existing check > after the audio config check which selected any config > which had a non-vendor class. This patch fixes this issue. > > Fixes: f13912d3f014 ("usbcore: Select UAC3 configuration for audio if present") > Reported-by: Con Kolivas > Signed-off-by: Saranya Gopal > I can confirm the above patch fixes my problem. Tested-by: Con Kolivas Thanks! Con