summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-06-16 10:34:43 +0300
committerTakashi Iwai <tiwai@suse.de>2024-06-18 13:00:18 +0300
commit5bae83007bdd71919a38d5c6db020ef43e2299c6 (patch)
tree7812351aeef644bb856ff4048703134862cf41fa /scripts/generate_rust_analyzer.py
parent10457f5042b4890a667e2f15a2e783490dda44d2 (diff)
downloadlinux-5bae83007bdd71919a38d5c6db020ef43e2299c6.tar.xz
ALSA: hda: Return -EINVAL for invalid volume/switch inputs
So far the HD-audio driver has been tolerant about the input values and accepts any values by correcting the amp volume and switch values internally. But now our own selftest starts complaining about this behavior, so let's be picky and change the behavior to return -EINVAL for invalid input values instead. Reported-by: Paul Menzel <pmenzel@molgen.mpg.de> Closes: https://lore.kernel.org/r/1d44be36-9bb9-4d82-8953-5ae2a4f09405@molgen.mpg.de Reviewed-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/20240616073454.16512-3-tiwai@suse.de
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions