mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 11:01:06 -04:00
ALSA: usb-audio: Use int for dB map values
The values in usbmix_dB_map should be rather signed while we're using u32. As the copied target (usb_mixer_elem_info.dBmin and dBmax) is int, let's make them also int. Link: https://lore.kernel.org/r/20211116065415.11159-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
*/
|
||||
|
||||
struct usbmix_dB_map {
|
||||
u32 min;
|
||||
u32 max;
|
||||
int min;
|
||||
int max;
|
||||
};
|
||||
|
||||
struct usbmix_name_map {
|
||||
|
||||
Reference in New Issue
Block a user