diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-03-10 17:49:35 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-03-10 17:54:42 +0300 |
commit | 1a414f48d7ccb197b61c18888b72327c98171844 (patch) | |
tree | 49bfce24deaa299602ebf9d0e3d52da40a611944 /drivers/md/dm-thin.c | |
parent | 8cc1a8ab477e974a3516e73276ef4b6e546c4c65 (diff) | |
download | linux-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/md/dm-thin.c')
0 files changed, 0 insertions, 0 deletions