Re: [External Mail] [PATCH v2 1/8] Revert "ALSA: usb: Increase volume range that triggers a warning"

From: Arun Raghavan

Date: Mon Mar 02 2026 - 16:46:04 EST


On Mon Mar 2, 2026 at 10:58 AM PST, Rong Zhang wrote:
> 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@xxxxxxxxxxxxxxx
> Signed-off-by: Rong Zhang <i@xxxxxxxx>

Thanks for catching and fixing this.

Acked-by: Arun Raghavan <arunr@xxxxxxxxxxxxxxxxx>