summaryrefslogtreecommitdiff
path: root/sound/firewire
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-04-24 17:53:24 +0300
committerTakashi Iwai <tiwai@suse.de>2018-04-24 18:18:59 +0300
commit08605068df8bf52c0ec5a8897ddf2b4de753c9d0 (patch)
tree71fb412c40b336905efd7b2257ee9e87bea1457c /sound/firewire
parentc1a36101040a71dbc42afca5e329048042e4afef (diff)
downloadlinux-08605068df8bf52c0ec5a8897ddf2b4de753c9d0.tar.xz
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>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions