summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/pxa2xx_base.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-03-10 17:49:35 +0300
committerTakashi Iwai <tiwai@suse.de>2016-03-10 17:54:42 +0300
commit1a414f48d7ccb197b61c18888b72327c98171844 (patch)
tree49bfce24deaa299602ebf9d0e3d52da40a611944 /drivers/pcmcia/pxa2xx_base.c
parent8cc1a8ab477e974a3516e73276ef4b6e546c4c65 (diff)
downloadlinux-1a414f48d7ccb197b61c18888b72327c98171844.tar.xz
ALSA: hda - Add a sanity check of pin / port mapping on i915 HDMI/DP
There is an implicit rule to map between pin NID and port number on Intel HDMI/DP codec: the mapping is fixed only for NID 0x05, 0x06 and 0x07. For avoiding the possible memory corruption, add a sanity check for the NID value and splat WARN_ON() for invalid accesses. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_base.c')
0 files changed, 0 insertions, 0 deletions