ALSA: ump: Additional proc output
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 07:53:27 +0000 (09:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 10:10:59 +0000 (12:10 +0200)
commitfa030f666d2431be5310c0c0fef254e2e205d4cc
tree8fa0c43914f9ab9042a9429516f2e7bef2dacd56
parent30fc139260d46e9bdc06e46eec91e9ff61eb387e
ALSA: ump: Additional proc output

UMP devices may have more interesting information than the traditional
rawmidi.  Extend the rawmidi_global_ops to allow the optional proc
info output and show some more bits in the proc file for UMP.

Note that the "Groups" field shows the first and the last UMP Groups,
and both numbers are 1-based (i.e. the first group is 1).

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230523075358.9672-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/rawmidi.h
sound/core/rawmidi.c
sound/core/ump.c