Re: [PATCH AUTOSEL 5.4 057/130] ALSA: usb-audio: Check valid altsetting at parsing rates for UAC2/3

2020-12-23 Thread Sasha Levin
On Wed, Dec 23, 2020 at 08:09:41AM +0100, Takashi Iwai wrote: On Wed, 23 Dec 2020 03:17:00 +0100, Sasha Levin wrote: From: Takashi Iwai [ Upstream commit 93db51d06b32227319dae2ac289029ccf1b33181 ] The current driver code assumes blindly that all found sample rates for the same endpoint from

Re: [PATCH AUTOSEL 5.4 057/130] ALSA: usb-audio: Check valid altsetting at parsing rates for UAC2/3

2020-12-22 Thread Takashi Iwai
On Wed, 23 Dec 2020 03:17:00 +0100, Sasha Levin wrote: > > From: Takashi Iwai > > [ Upstream commit 93db51d06b32227319dae2ac289029ccf1b33181 ] > > The current driver code assumes blindly that all found sample rates for > the same endpoint from the UAC2 and UAC3 descriptors can be used no >

[PATCH AUTOSEL 5.4 057/130] ALSA: usb-audio: Check valid altsetting at parsing rates for UAC2/3

2020-12-22 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit 93db51d06b32227319dae2ac289029ccf1b33181 ] The current driver code assumes blindly that all found sample rates for the same endpoint from the UAC2 and UAC3 descriptors can be used no matter which altsetting, but actually this was wrong: some devices accept