Skip to content

Commit fd23116

Browse files
committed
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>
1 parent 4f66a9e commit fd23116

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/usb/mixer_maps.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
*/
77

88
struct usbmix_dB_map {
9-
u32 min;
10-
u32 max;
9+
int min;
10+
int max;
1111
};
1212

1313
struct usbmix_name_map {

0 commit comments

Comments
 (0)