diff options
author | Saranya Gopal <saranya.gopal@intel.com> | 2019-01-06 08:14:02 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-07 17:23:30 +0100 |
commit | ff2a8c532c14fd22fb26a36574d9ff199afbbe54 (patch) | |
tree | df587e4d94564f16adf50d307c8b12829d2415a9 /tools | |
parent | 0a99cc4b8ee83885ab9f097a3737d1ab28455ac0 (diff) | |
download | linux-stable-ff2a8c532c14fd22fb26a36574d9ff199afbbe54.tar.gz linux-stable-ff2a8c532c14fd22fb26a36574d9ff199afbbe54.tar.bz2 linux-stable-ff2a8c532c14fd22fb26a36574d9ff199afbbe54.zip |
usbcore: Select only first configuration for non-UAC3 compliant devices
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 <kernel@kolivas.org>
Signed-off-by: Saranya Gopal <saranya.gopal@intel.com>
Tested-by: Con Kolivas <kernel@kolivas.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions