Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1a414f48 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 8cc1a8ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment