commit | 08605068df8bf52c0ec5a8897ddf2b4de753c9d0 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Apr 24 16:53:24 2018 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Apr 24 17:18:59 2018 +0200 |
tree | 71fb412c40b336905efd7b2257ee9e87bea1457c | |
parent | c1a36101040a71dbc42afca5e329048042e4afef [diff] |
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: Takashi Iwai <tiwai@suse.de>