Re: [PATCH V2] usbcore: Select only first configuration for non-UAC3 compliant devices

From: Con Kolivas
Date: Sat Jan 05 2019 - 17:02:21 EST

Hi Saranya

On Sun, 6 Jan 2019 at 04:41, <saranya.gopal@xxxxxxxxx> wrote:
> From: Saranya Gopal <saranya.gopal@xxxxxxxxx>
> 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@xxxxxxxxxxx>
> Signed-off-by: Saranya Gopal <saranya.gopal@xxxxxxxxx>>

I can confirm the above patch fixes my problem.
Tested-by: Con Kolivas <kernel@xxxxxxxxxxx>