提交 fd23116d 编写于 作者: T Takashi Iwai

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.deSigned-off-by: NTakashi Iwai <tiwai@suse.de>
上级 4f66a9ef
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
*/ */
struct usbmix_dB_map { struct usbmix_dB_map {
u32 min; int min;
u32 max; int max;
}; };
struct usbmix_name_map { struct usbmix_name_map {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册