ALSA: usb-audio: support multiple formats with audio class v2 devices
Change the parser to correctly handle v2 descriptors with multiple format bits set. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Takashi Iwai
parent
015eb0b081
commit
29088fef3e
@ -2203,7 +2203,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
|
||||
.ifnum = 1,
|
||||
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
|
||||
.data = &(const struct audioformat) {
|
||||
.format = SNDRV_PCM_FORMAT_S24_3BE,
|
||||
.formats = SNDRV_PCM_FMTBIT_S24_3BE,
|
||||
.channels = 2,
|
||||
.iface = 1,
|
||||
.altsetting = 1,
|
||||
|
Reference in New Issue
Block a user