Skip to content
Commit 909cadc6 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Simplify phantom jack handling for HDMI/DP



The HDMI codec parser may create a phantom jack, but the helper
function snd_hda_jack_add_kctl() treats always as a normal jack.  This
is superfluous as the jack query is executed at each time the jack
sync is performed.

Since the HDMI codec parser is the only caller of this function, it's
easier to change back this directly calling the original
__snd_hda_jack_add_kctl() with phantom_jack parameter.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e2656412
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment