summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-04-24 16:53:24 +0200
committerTakashi Iwai <tiwai@suse.de>2018-04-24 17:18:59 +0200
commit08605068df8bf52c0ec5a8897ddf2b4de753c9d0 (patch)
tree71fb412c40b336905efd7b2257ee9e87bea1457c /sound/pci/hda/hda_generic.h
parentc1a36101040a71dbc42afca5e329048042e4afef (diff)
downloadtalos-op-linux-08605068df8bf52c0ec5a8897ddf2b4de753c9d0.tar.gz
talos-op-linux-08605068df8bf52c0ec5a8897ddf2b4de753c9d0.zip
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/pci/hda/hda_generic.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud