]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Annotate the endpoint index in audioformat
authorTakashi Iwai <tiwai@suse.de>
Fri, 8 Jan 2021 07:52:18 +0000 (08:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Jan 2021 22:43:38 +0000 (23:43 +0100)
commiteae4d054f909d9e9589d0940f9b5b0cd68de1e2e
tree18afa9fb9f8e30b92798111518479a76ad560c86
parent00272c61827e37bb64c47499843d8c0d8ee136a5
ALSA: usb-audio: Annotate the endpoint index in audioformat

There are devices that have multiple endpoints sharing the same
iface/altset not only for sync but also for the actual streams, and
the audioformat for such an endpoint needs to be handled with the
proper endpoint index; otherwise it confuses the endpoint management.

This patch extends the audioformat to annotate the endpoint index, and
put the proper ep_idx=1 to Pioneer device quirk entries accordingly.

Fixes: bf6313a0ff76 ("ALSA: usb-audio: Refactor endpoint management")
Link: https://lore.kernel.org/r/20210108075219.21463-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.h
sound/usb/endpoint.c
sound/usb/quirks-table.h
sound/usb/quirks.c