ALSA: usb-audio: Inform inconsistent protocols in GTBs
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 07:53:37 +0000 (09:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 10:11:13 +0000 (12:11 +0200)
commitf4487c42aae596f02e0cb02a028d2a107ec1737d
tree2cc72df2d5c71f98a28562f9f9c97cf2932dedcd
parentec362b63c4b560006666998c582edc76a2f77910
ALSA: usb-audio: Inform inconsistent protocols in GTBs

When parsing Group Terminal Blocks, we overwrote the preferred
protocol and the protocol capabilities silently from the last parsed
GTB.  This patch adds the information print indicating the unexpected
overrides instead of silent action.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230523075358.9672-17-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/midi2.c