ALSA: usb-audio: Use unsigned char for iface and altsettings fields
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 08:53:40 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 14:16:37 +0000 (15:16 +0100)
commit89fa3f686c10c9edde0f41e5a1c71afa0e43ff87
tree561571bc3c90b9ce14edc12c05067f01fab4f73d
parent53837b4ac2bd33ede5cd799940341ce5ea7b2902
ALSA: usb-audio: Use unsigned char for iface and altsettings fields

Just for consistency, use unsigned char for iface and altsetting in
allover places.  Also rearrange the field positions of
snd_usb_endpiont and tidy up with some comments.

Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-35-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.h
sound/usb/endpoint.c