Skip to content
Commit 08605068 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Sanity check of access to SPDIF controls array



Put WARN_ON() and bail out if the given index is over the allocated
array of the given SPDIF controls.  It's merely a sanity check to
catch any potential issues (if any).

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c1a36101
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment