ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Jul 2021 08:48:36 +0000 (10:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Jul 2021 16:08:38 +0000 (18:08 +0200)
commit64752a95b702817602d72f109ceaf5ec0780e283
tree4a15bf20bbe51f9e315610e48eb97a255e633daa
parent2e2832562c877e6530b8480982d99a4ff90c6777
ALSA: usb-audio: Add missing proc text entry for BESPOKEN type

Recently we've added a new usb_mixer element type, USB_MIXER_BESPOKEN,
but it wasn't added in the table in snd_usb_mixer_dump_cval().  This
is no big problem since each bespoken type should have its own dump
method, but it still isn't disallowed to use the standard one, so we
should cover it as well.  Along with it, define the table with the
explicit array initializer for avoiding other pitfalls.

Fixes: 785b6f29a795 ("ALSA: usb-audio: scarlett2: Fix wrong resume call")
Reported-by: Pavel Machek <pavel@denx.de>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210714084836.1977-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c