Re: [PATCH] ALSA: hda: reject invalid values in the IEC958 switch put callbacks
From: HyeongJun An
Date: Mon Nov 23 2026 - 21:33:26 EST
Hello Arnav,
Tested on a Dell Latitude 9420 (Tiger Lake HDMI). On the three IEC958
Playback Switch controls, 2, -1 and INT_MAX now fail with -EINVAL
instead of reading back as 1, and 0 and 1 still work.
Tested-by: HyeongJun An <sammiee5311@xxxxxxxxx>
I ran these with Claude Code (Claude Opus 5.5) on the laptop.
Best regards,
HyeongJun An