]> www.infradead.org Git - users/willy/xarray.git/commit
ALSA: hda: Add input value sanity checks to HDMI channel map controls
authorTakashi Iwai <tiwai@suse.de>
Sun, 16 Jun 2024 07:34:47 +0000 (09:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jun 2024 10:00:19 +0000 (12:00 +0200)
commit6278056e42d953e207e2afd416be39d09ed2d496
tree372d44f986d9a447344969918a22ad4ca12b12f7
parent210e6a844112bd7e28a04faedac677918e1f3040
ALSA: hda: Add input value sanity checks to HDMI channel map controls

Add a simple sanity check to HD-audio HDMI Channel Map controls.
Although the value might not be accepted for the actual connection, we
can filter out some bogus values beforehand, and that should be enough
for making kselftest happier.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/20240616073454.16512-7-tiwai@suse.de
sound/hda/hdmi_chmap.c