projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f66a9e
)
ALSA: usb-audio: Use int for dB map values
author
Takashi Iwai
<tiwai@suse.de>
Tue, 16 Nov 2021 06:54:13 +0000
(07:54 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 16 Nov 2021 06:55:14 +0000
(07:55 +0100)
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>
sound/usb/mixer_maps.c
patch
|
blob
|
history
diff --git
a/sound/usb/mixer_maps.c
b/sound/usb/mixer_maps.c
index 55eea90ee993f930ba2d5fc07969fd81e817bf7e..92c06b1bb9796e23fbc78063b758042d5bc59d80 100644
(file)
--- a/
sound/usb/mixer_maps.c
+++ b/
sound/usb/mixer_maps.c
@@
-6,8
+6,8
@@
*/
struct usbmix_dB_map {
-
u32
min;
-
u32
max;
+
int
min;
+
int
max;
};
struct usbmix_name_map {