summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRong Zhang <i@rong.moe>2026-03-03 22:47:56 +0300
committerTakashi Iwai <tiwai@suse.de>2026-03-04 14:05:57 +0300
commit41d78cb724f4b40b7548af420ccfe524b14023bb (patch)
tree427a5f5f764089cef7778642d8947c731fa3cc6f /include/linux
parent0cdccaae8c28a396ed6ac6c4bb6099cfca77d3ce (diff)
downloadlinux-41d78cb724f4b40b7548af420ccfe524b14023bb.tar.xz
Revert "ALSA: usb: Increase volume range that triggers a warning"
UAC uses 2 bytes to store volume values, so the maximum volume range is 0xFFFF (65535, val = -32768/32767/1). The reverted commit bumpped the range of triggering the warning to > 65535, effectively making the range check a no-op. It didn't fix anything but covered any potential problems and deviated from the original intention of the range check. This reverts commit 6b971191fcfc9e3c2c0143eea22534f1f48dbb62. Fixes: 6b971191fcfc ("ALSA: usb: Increase volume range that triggers a warning") Cc: stable@vger.kernel.org Signed-off-by: Rong Zhang <i@rong.moe> Acked-by: Arun Raghavan <arunr@valvesoftware.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260303194805.266158-2-i@rong.moe
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions