diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-11-16 07:54:13 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-11-16 07:55:14 +0100 |
commit | fd23116d7b8dffa05f42a857eee6ee9cce238d24 (patch) | |
tree | be71aad8f8b9af2ba466e3049e19c8f676470d4e /sound/usb | |
parent | ALSA: hda: intel: More comprehensive PM runtime setup for controller driver (diff) | |
download | linux-fd23116d7b8dffa05f42a857eee6ee9cce238d24.tar.xz linux-fd23116d7b8dffa05f42a857eee6ee9cce238d24.zip |
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>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/mixer_maps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c index 55eea90ee993..92c06b1bb979 100644 --- 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 { |